propertygrid Questions

3

Solved

In my application I have a property grid to allow users to change settings. This works fine for strings and other value properties, but what I need now is a list of strings that can be edited by us...
Denn asked 10/6, 2011 at 13:27

1

Solved

I'm working with the PropertyGrid control and using the SelectedObject property to display data within the PropertyGrid. Some of the properties in my grid are enum types. What I'd like to be able t...
Wrigley asked 20/5, 2013 at 15:4

1

Solved

Trying to remove or place items on a property grid by changing the Browsable attribute. But unless browsable is set on object creation my code to change Browsable doesn't work. Now I can manually ...
Bandler asked 7/5, 2013 at 15:24

4

Solved

Using <System.ComponentModel.TypeConverter(GetType(System.ComponentModel.ExpandableObjectConverter))> _ on the declaration of a class (which is a property of another class) that consists o...
Isisiskenderun asked 9/3, 2009 at 15:50

1

Solved

I have a property grid displaying a list, for example of a class Person [TypeConverter(typeof(ExpandableObjectConverter))] public class Person { public bool ShowHidden { get; set; } public strin...
Frazzled asked 2/12, 2012 at 19:48

4

Solved

I have a property grid that I am using for users to be able to configure objects for any plugin that is written to be used in my application. I would like to be able to tell developers writing plug...
Paste asked 14/9, 2011 at 20:38

1

Solved

I have a property grid with 2 items. Country & Cities. I have 1 table in database : CountryCityTable that save LocationId, Title , ParentId. For countries parentId = 0 and for cities is country...
Bullace asked 18/11, 2012 at 12:25

2

Solved

I'd like to edit a list of key value(string, string) items using a propertygrid. When I use a Dictionary<string,string> as type the propertygrid will show a GUI, but it does not seem "enabled...
Ablaut asked 18/12, 2009 at 14:37

3

Solved

I want to avoid placing an EditorAttribute on every instance of a certain type that I've written a custom UITypeEditor for. I can't place an EditorAttribute on the type because I can't modify the...
Henleigh asked 11/5, 2009 at 17:45

2

Solved

I have a System.Windows.Forms.PropertyGrid with different types of values. For a specific item, I want to show a list of useful values to choose from. The user may also type a new value. Something ...
Antrorse asked 20/3, 2012 at 15:50

1

Solved

Let's say I have a property which I want shown in a DataGridView, but not when the same object is shown in a PropertyGrid. I know I can use [Browsable(false)], but that hides it in both views. I ca...
Morpho asked 23/5, 2012 at 19:25

1

Solved

In the picture below, "MyCars" is a collection. If an object's property is a collection, then in a PropertyGrid, the value appears as the string "(Collection)" with a button to the right if the ite...
Bialystok asked 13/8, 2012 at 16:59

2

Solved

I have many custom classes that I am using that I will explain and post examples of. After Explaining what they all do I will try to clearly describe the conditions under which my bug is happening....
Battlement asked 7/8, 2012 at 0:35

2

Solved

I want to display multiple instances of one class in my PropertyGrid. The class looks like this: public class Parameter { [Description("the name")] public string Name { get; set; } [Descriptio...

1

Solved

I am a beginner at C#/WPF and am trying to use the Xceed PropertyGrid. On their site they show an example: <xctk:PropertyGrid x:Name="_propertyGrid" Width="450" Margin="10" AutoGenerateProper...
Inseminate asked 20/4, 2012 at 18:51

1

Solved

I say, as in the picture: if not exists, how to create it dynamically?
Truckle asked 13/1, 2012 at 1:52

1

I have a propertygrid that uses UITypeEditor to display a Listbox and select a item. This item gets returned on the proertygrid on selection. But how do I disable editing of the selected item direc...
Caught asked 11/8, 2011 at 5:29

2

PropertyGrid... for users Id like to leave only several of them. But now I see all, and users would be confused when see something like Dock or Cursor and such... Hope it's clear for now...
Birch asked 14/8, 2011 at 1:32

1

Solved

Not quite sure why this is happening, but I want to be able to modify the XNA color value: private Color _color = Color.White; [System.ComponentModel.Category("VisibleInEditor")] [System.Componen...
Matted asked 27/7, 2011 at 16:52

3

Solved

I have a property grid that when a button is clicked for one of the properties, certain fields are filled in. However the property's set isn't being triggered. I do not know why. private OptoSigm...
Echt asked 30/6, 2011 at 16:52

1

I am working with User Controls. I have created my own control properties. Now I want to group my own properties separately in designer grid. How to achieve that? Regards
Kling asked 12/7, 2011 at 13:23

1

Solved

I'm trying to use an ExpandoObject as the SelectedObject of a PropertyGrid. I know how to add the properties I want to the ExpandoObject: public dynamic MakePropertyObject() { dynamic expando = n...
Sunbeam asked 23/4, 2011 at 20:37

1

Solved

At the moment I have an object of type A which is being viewed by the PropertyGrid. However, one of its properties is of type B. The property which is of type B is not expandable. How can I change ...
Tadich asked 23/4, 2011 at 20:23

1

Solved

The WinForm PropertyGrid copes well with a standard enum but does does have a built in editor for a flag enum. Someone must have written one, I rather not reinvent the weel. I am looking for an ed...
Neumark asked 21/4, 2011 at 13:40

2

Solved

I want to add attributes (like Browsable(false)) dynamically while displaying in the grid. Scenario is that I have a custom class with some public properties. However, I dont want all of the public...
Mcalpin asked 19/8, 2009 at 14:23

© 2022 - 2024 — McMap. All rights reserved.