brianlagunas_cp
3f1d3ad4aa
PropertyGrid: fixed issue with ExpandableProperty past 1 level
15 years ago
brianlagunas_cp
eb88719af7
PropertyGrid: ExpandableObject editor is now read only.
15 years ago
brianlagunas_cp
107287c251
PropertyGrid: fixed issue wtih ExpandableObject not expanding when private setter is present.
15 years ago
brianlagunas_cp
ad8ed27f51
PropertyGrid: fixed issue where an ExpandableObject would only show properties of a base class or interface.
15 years ago
brianlagunas_cp
3b3e10da10
PropertyGrid: Added PropertyGrid examples to the Samples application.
15 years ago
brianlagunas_cp
f27e96d16e
PropertyGrid: no longer support the ExpandableObjectConverter syntax for defining a complex property. I have added a new attribute called ExpandableObjectAttribute.
The syntax is as follows:
public class Person
{
[Description("First Name")]
public string FirstName { get; set; }
[Description("Last Name")]
public string LastName { get; set; }
[ExpandableObject]
public Person Spouse { get; set; }
}
15 years ago
brianlagunas_cp
bdbd98b09e
PropertyGrid: fixed alignment of grid splitter for expanded properties
15 years ago
brianlagunas_cp
093c0485c2
PropertyGrid: Implemented support for complex properties. You can now drill down into a hierarchy of an object's properties. I an not sure if I will create my own attribute or use the following syntax.
[TypeConverter(typeof(ExpandableObjectConverter))]
public Person Admin
{
get { return _admin; }
set { _admin = value; }
}
For now it works with the above syntax.
15 years ago
brianlagunas_cp
6e14016bba
PropertyGridItem: removed the feature of giving the editor focus when selecting a property. It was causing too many issues with custom editors
15 years ago
brianlagunas_cp
34911b8c1b
PropertyGrid: removed code that would gurantee that a editor will receiev focus, and instead the PropertyGrid does the best it can to give focus to the editor when a property is selected. This fixes problems when creating custom editors that depend on the MouseDown event
15 years ago
brianlagunas_cp
2523b237d2
PropertyGrid BREAKING CHANGES - renamed CustomTypeEditors to EditorDefinitions. Added ability to add custom editors by declaring a DataTemplate. You can target a Type or a list of PropertyNames.
Example:
<extToolkit:PropertyGrid>
<extToolkit:PropertyGrid.EditorDefinitions>
<extToolkit:EditorDefinition TargetType="{x:Type sys:DateTime}">
<extToolkit:EditorDefinition.EditorTemplate>
<DataTemplate>
<extToolkit:DateTimeUpDown Format="ShortDate" Value="{Binding Value}" />
</DataTemplate>
</extToolkit:EditorDefinition.EditorTemplate>
</extToolkit:EditorDefinition>
</extToolkit:PropertyGrid.EditorDefinitions>
</extToolkit:PropertyGrid>
15 years ago
brianlagunas_cp
cea282dcfd
PropertyGrid: added support for the DisplayNameAttribute
15 years ago
brianlagunas_cp
85bfc4484f
PropertyGrid: Working on property options, and ValueSource icons.
15 years ago
brianlagunas_cp
228975f121
PropertyGrid: implemented DateTimeUpDown type editor. Working on property binding options menu.
15 years ago
brianlagunas_cp
ce31bb0c7a
PropertyGrid: added NumericUpDown type editor for double and int.
15 years ago
brianlagunas_cp
c1138ce229
PropertyGrid: Re-architected editors. This alllows you to create and provide custom editors.
15 years ago
brianlagunas_cp
a2afbeaead
PropertyEditor: editor now gets focus when property is selected.
15 years ago
brianlagunas_cp
68a8143c63
PropertyGrid: implemented SelectedProperty.
15 years ago
brianlagunas_cp
94a8e34b60
initial checkin of PropertyGrid. Filter not implemented. Some editors aren't implemented. Icons missing for Category and Alphabetical lists of properties.
15 years ago