Questions tagged [browsable]
37 questions
0
votes
0 answers
RefreshProperties(RefreshProperties.All) attribute at runtime for specific name
I would like to use this [RefreshProperties(RefreshProperties.All)] attribute to change only properties with a specific name at runtime, so not all of them. The Browsable(false/true) attribute is set here. My code looks like this so far:
…

Sidlercom
- 11
- 4
0
votes
1 answer
List field input in django rest frameowrk browsable api - mongoengine
I have created a serializer that takes a list argument tags, but on the django-rest-framework browsable api, It doesn't seem to work.
Code:
Model
class SocialFeed(Document):
platform = StringField(max_length=20, required=True,…

Rohit Khatri
- 1,980
- 3
- 25
- 45
0
votes
1 answer
C# property grid, set browsable attribute to enumeration each item on runtime?
I have question regarding c# property grid.
public enum xxx
{
[Browsable(true)]
aaa,
[Browsable(false)]
bbb,
[Browsable(true)]
ccc,
}
public class testObject {
public xxx temp;
public xxx test {
get { return…

user3910144
- 15
- 1
- 3
0
votes
1 answer
Find all properties without BrowsableAttribute explicitely set to Yes in .Net
Is there a way to find all the properties of a given type without the BrowsableAttribute explicitly set to Yes in .Net?
I've tried the following code without success (all the properties which are browsable by default are also…

Gyum Fox
- 3,287
- 2
- 41
- 71
0
votes
1 answer
Why does adding a attribute to a class property prevent FilterItemOnProperty() from properly retrieving the property's value?
I've written a custom ComboBox control that inherits from System.Windows.Forms.ComboBox. It has a "Value" property that I've written as follows:
Public Property Value() As Object
Get
If SelectedIndex = -1 Then Return Nothing
If…

MCattle
- 2,897
- 2
- 38
- 54
0
votes
0 answers
WinForms DataGridView and PropertyGrid behavior
Possible Duplicate:
Make a property visible in DataGridView but NOT in PropertyGrid?
I am using both the DataGridView and PropertyGrid in an application and set it to a data source as follows:
public class Location
{
public string Name { get;…

Raheel Khan
- 14,205
- 13
- 80
- 168
-1
votes
1 answer
How to create a Browse-able property for class with type dictionary
I created a class that inherits button in win forms
How can i create a Browsable property with type dictionary ?
here is my code
but i didn't find it in properties menu
vb.net
Property Set_ddn() As Dictionary(Of TextBox, String)
…

Salem Ahmed
- 1,067
- 2
- 12
- 18