brianlagunas_cp
e34f51e8b1
PropertyGrid: fixed bug when the SelectedObject is set to null the information panel retains the last selected property info.
15 years ago
brianlagunas_cp
2d7ae5a473
PropertyGrid: enabled the ability to define an EditorDefinition by property name as well. You can now have an EditorDefinition for a specific Type as well as for specific property names as well.
This example will provide a TextBox editor for any property of type DateTime as well as any property with the defined property names:
<extToolkit:PropertyGrid>
<extToolkit:PropertyGrid.EditorDefinitions>
<extToolkit:EditorDefinition TargetType="{x:Type sys:DateTime}">
<extToolkit:EditorDefinition.Properties>
<sys:String>FirstName</sys:String>
<sys:String>LastName</sys:String>
</extToolkit:EditorDefinition.Properties>
<extToolkit:EditorDefinition.EditorTemplate>
<DataTemplate>
<TextBox Text="{Binding Value}" />
</DataTemplate>
</extToolkit:EditorDefinition.EditorTemplate>
</extToolkit:EditorDefinition>
</extToolkit:PropertyGrid.EditorDefinitions>
</extToolkit:PropertyGrid>
You can also target just a Type or just property names.
15 years ago
brianlagunas_cp
3fbc48411a
PropertyGrid: added TimeSpan editor
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
1f6dd01716
PropertyGrid: implemented CustomTypeEditors and also did some refactoring.
15 years ago
brianlagunas_cp
4e79ecbede
PropertyGrid: made converter public. for some reason I total missed that one.
15 years ago
brianlagunas_cp
59246fd23c
PropertyGrid: added new AdvanceOptionsMenu property that allows you to specify a custom ContentMenu for the AdvanceOptions button on a property item.
15 years ago
brianlagunas_cp
e6d88f30da
PropertyGrid: added ShowAdvancedOptions property.
15 years ago
brianlagunas_cp
6feaea84aa
various improvements. slightly changed ColorPicker style to match the rest of the dropdown controls.
15 years ago
brianlagunas_cp
cfcb570f14
New PrimitiveTypeCollectionEditor added. It is used for editing IList<PrimitiveType> such as Int and String. PropertyGrid now uses this editor for editing primitive colleciton types.
15 years ago
brianlagunas_cp
8aaac023af
PropertyGrid: finished CollectionEditor control. This editor will only work for collections that implement the IList interface.
15 years ago
brianlagunas_cp
a17f24e2bb
PropertyGrid: working on Collection editor. This editor will only be able to add/remove items from a collection of IList.
15 years ago
brianlagunas_cp
7e8fd94c47
PropertyGrid: added Update() method which will allow you to update all property values in the PropertyGrid with the data from the SelectedObject. This is helpful when your SelectedObject does not implement the INotifyPropertyChanged interface.
15 years ago
brianlagunas_cp
dac6d6469e
PropertyGrid: working on collection editor
15 years ago
brianlagunas_cp
d1c4040853
ProperytGrid: Filtering now filters off the DisplayName
15 years ago
brianlagunas_cp
8030f0a09e
PropertyGrid: removing properties that are not Browsable
15 years ago
brianlagunas_cp
2043db6035
PropertyGrid: added color editor.
15 years ago
brianlagunas_cp
cea282dcfd
PropertyGrid: added support for the DisplayNameAttribute
15 years ago
brianlagunas_cp
3dbf1e4d9f
PropertyGrid: added filtering
15 years ago
brianlagunas_cp
6a03a7bf8e
PropertyGrid: improved how I populated the property descriptors and starting to work on filtering
15 years ago
brianlagunas_cp
4ee183976b
PropertyGrid EnumComboBoxEditor: removed values with Browsable attribute
15 years ago
brianlagunas_cp
8448087086
Getting ready for v1.4 release
15 years ago
brianlagunas_cp
8e5c79604a
refactored new numeric editors and added the editors to the PropertyGrid control. Now time to start ripping out the old NumericUpDown control.
15 years ago
brianlagunas_cp
6f5d844125
checked in initial IntegerUpDown control. Not ready for use, just getting it in the code base.
15 years ago
brianlagunas_cp
af6d43a151
Added Watermark and WatermarkTemplate to all controls derived from InputBase.
15 years ago
brianlagunas_cp
faa7825423
Major overhaul of NumericUpDown, DateTimeUpDown, and MaskedTextBox in order to support null values. Need extensive testing because I am sure I broke something.
15 years ago
brianlagunas_cp
2f50c837b6
Merged all current 4.0 changes into the 3.5 solution. Didn't fully test all controls, but they all compile and seem to work. Not sure how much longer I will support 3.5 since it is so time consuming and a pain to do it.
15 years ago
brianlagunas_cp
e40b78ec0c
PropertyGrid: refactored editors
15 years ago
brianlagunas_cp
26e89f796b
PropertyGrid: minor fixes, implemented TextBlockEditor for readonly properties.
15 years ago
brianlagunas_cp
11e66be6d9
PropertyGrid: Fixed column resizing when switching from Categorized to Alphabetized
15 years ago
brianlagunas_cp
608eedf9c5
PropertyGrid: added DisplaySummary property to allow you to show/hide the Suammry area
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
ae7a34850e
PropertyGrid: FontComboBoxEditor implemented all fonts.
15 years ago
brianlagunas_cp
ce31bb0c7a
PropertyGrid: added NumericUpDown type editor for double and int.
15 years ago
brianlagunas_cp
d34bf44016
PropertyGrid: custom type editors can now target specific properties or a particular type.
15 years ago
brianlagunas_cp
c1138ce229
PropertyGrid: Re-architected editors. This alllows you to create and provide custom editors.
15 years ago
brianlagunas_cp
6017e79d6b
PropertyGrid: fixed UIElement object's name binding.
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