Hi, I have a bunch of objects that implement different interfaces, some properties of this interfaces should be showed and edited through a PropertyGrid, but if I specify something like DisplayName, Browsable or DescriptionAttribute, they will not be "inherited" by the class that implements the interface... why is this? and is there any ...
I'm using propertygrid, and for some reason if a property holds text longer that 3000 chars the text doesn't appear. Any advice?
...
Hi
I Develop a Form Designer, also develop some custom control that inherit from standard control like button.
Also, i have some property that related, for example user must select department first, and then select person. and after user select person, I set Text of my custom control (that inherit from button in this case). Note: use...
I am writing an application which is going to allows users to change the properties of a text box or label and these controls are user controls. Would it be easiest to create a separate class for each user control which implements the properties I want them to be able to change and then bind those back to the user control? Or is there ...
Hi all,
I need a propertyGrid for my WPF application . after lots of searches I have found this
I have added the assembly (exe file) when I add the propertyGrid to my form and I run it I can't see it in the form .
xaml code :
<Window x:Class="propertyGridTest.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
I have a project in my VS 2008 solution containing file items. Each item have a standard read only property called "FullPath" in the Properties Grid.
What is the easiest way to make the FullPath property of the Properties Grid editable?
...
Hi,
I'm currently working on some DateTime properties in a PropertyGrid in c#.Net. Im using the default drop-down datetime picker.
My question: Is there any way to show the full date with the time? By default the date is shown if no time is set, but I want zero-values aswell. I.e: I want "09.11.2009 00:00" to be shown instead of "09.11...
I want to start a new application on WPF. The new User interface in WPF needs DataGridView control and PropertyGrid Control. But it looks like that these two controls won't exist in WPF and I want to host these two controls using WindowsFormsHost.
However, if I do that, is there any limitation anybody forsee with this approach?
...
I need a reference to the PropertyGrid instance which has called my UITypeEditor.
If you care to know why:
I have a Control which needs to receive a delegate from a property being edited, so that the next action performed in said Control will fire the delegate with some Control-specific information. I don't want to add a reference to ...
Can anyone suggest a good, free wpf-based property grid?
I used to use Denis Vuyka's original WPF PropertyGrid, which I liked, but I lost the source code. And unfortunately (for me, anyway) the only version currently available is a paid version. Can't find the original, simpler non-paid version anywhere.
...
Where would I start looking if I wanted to create my own property grid control in WPF?
...
Hello,
I'm writing a GUI application where I need to enable editing properties of arbitrary objects (their types are only known at run-time).
I've decided to use the PropertyGrid control to enable this functionality.
I created the following class:
[TypeConverter(typeof(ExpandableObjectConverter))]
[DefaultPropertyAttribute("Value")]
...
Hi,
I am using the propertygrid with a class and associated type converter.
When I moved the class and the TypeConverter to a dll, it seems that it is not being called.
Can't find how to activate the typeconverter from a dll.
Assembly a = Assembly.LoadFile(modulepath + elementname + ".dll");
try
{
object myobj = a.CreateInstance(o...
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", ie. I can't add any items.
Is the Dictionary object supported, or is there any other object with which I could solve this problem?
...
I've created a custom user control that has several properties. One specifies which database I want the control to access. I want to be able to present the user of the control a drop down from which he can select which database the control will interact with.
How do I get the dropdown to work? I can get default values, but have yet to ...
To Any...To All,
My property grid is inspecting a class that has several color properties...
The colors are not system colors, nor 'Known' colors...
When displaying the colors the text value in the grid might look like this:
209, 175, 171
How do I define [Attribute] the Property so that when this color is chosen, the PropertyGrid un...
I have a propertygrid with a dropdown box. In my application a user can click on a block and then the properties of that block are shown in a propertygrid. But the first time they click on a block an invalid value (0) is shown in the dropdown. How can I make sure that a valid value is shown?
Here is some code of the TypeConverter:
publ...
How to add the EditorAttribute (Editor) to an object's property at run-time?
I have My.Settings.ExcludeFiles, which is created by the settings designer as Public Property ExcludedFiles() As Global.System.Collections.Specialized.StringCollection. When editing ExcludedFiles via a property grid, the "String Collection Editor" generates a "...
I didn't find anything similar to .NET PropertyGrid class in Cocoa, so I started to write my own version.
I use information from runtime to get properties of object:
Class reflectedClass = [reflectedObject class];
uint propertyCount = 0U;
objc_property_t *properties = class_copyPropertyList(reflectedClass,
...
I have a property on my World class that looks like this:
public Vec2 Gravity
{
get {
Console.WriteLine("Getting gravity!");
return GetGravity();
}
set {
Console.WriteLine("Setting gravity!");
SetGravity(value);
}
}
The "Getting gravity!" str...