propertygrid
Expand a class instance within a class instance in PropertryGrid
In C#, I have a class set up like so: class Page { public class Element { private string test; public string Test[详细]
2022-12-25 17:23 分类:问答Winform User Settings - Allow multiple choice values at Runtime
I created a simple User Settings Dialog by binding the Property.Settings to a PropertyGrid. Th开发者_StackOverflow中文版is works like a charm but now I would like to allow only certain choices for so[详细]
2022-12-25 14:56 分类:问答.NET Propertygrid refresh trouble
Property grid do not show new value of selected object. For example: o.val = \"1\"; pg.SelectedObject = o;[详细]
2022-12-25 09:53 分类:问答Custom Control Not Playing Nice With PropertyGrid
I have a class that is implementing a custom ToolStripItem.Everything seems to work great until I try to add the item to a ContextMenuStrip at design time.If I try to add my custom control straight fr[详细]
2022-12-25 07:03 分类:问答PropertyGrid: Merging multiple dynamic properties when editing multiple objects
Let\'s say I have a class A and a class B. I would like to edit using .NET PropertyGrid multiple instances of A and B simultaneously. The desired behavior would be to have the intersection of properti[详细]
2022-12-25 07:02 分类:问答Accessing additional context data in EditValue of UITypeEditor
I\'m tweaking a WinForms application.This application has a Form that contains a PropertyGrid.An object is assigned to the SelectedObject property so that the property grid displays the properties for[详细]
2022-12-24 07:07 分类:问答PropertyGrid PaintValue issue: How to remove (and paint outside) the standard rectangle?
This might be a straightforward question, even though I haven\'t found an easy solution to it: I\'ve implemented my custom UITypeEditor with the sole purpose of adding a PaintValue to bools. For the[详细]
2022-12-24 05:51 分类:问答Remove C# attribute of a property dynamically
I have a class with a set of properties As given below. class ContactInfo { [ReadOnly(true)] [Category(\"Contact Info\")][详细]
2022-12-23 19:31 分类:问答Readonly PropertyGrid
I\'m using a PropertyGrid in an application I am writing to allow users to view and sometimes edit instances of my objects. Sometimes the user may have a 开发者_开发问答file open in read/write mode wh[详细]
2022-12-21 10:04 分类:问答How do I control the access of multiple threads to a collection of objects?
I\'m writing an application that displays a list of objects which the user can select and then view and edit the properties of through a PropertyGrid control. The object\'s properties are populated by[详细]
2022-12-21 04:40 分类:问答