This project has moved and is read-only. For the latest updates, please go here.

PropertyGrid : Edition of CollectionControl Editors

Nov 26, 2014 at 8:39 AM
Edited Nov 26, 2014 at 8:40 AM

I have one problem with the CollectionEditor open by the PropertyGrid.
For my propertyGrid I have redefine some template like that but it's not propagated in the CollectionEditor, so how can I edit specific editor for the CollectionEditor ?

Thanks in advance if it's possible
       <xctk:EditorTemplateDefinition TargetProperties="{x:Type system:DateTime}">
                           <xctk:DateTimePicker TextAlignment="Left" Format="LongDate"            TimePickerVisibility="Collapsed" ShowButtonSpinner="False" AutoCloseCalendar="True" BorderThickness="0"/>

Dec 8, 2014 at 8:28 PM

You can modify the PropertyGrid in the CollectionControl's Template. To do so, just add your "PropertyGrid.EditorDefinitions" to the PropertyGrid in the CollectionControl's Template. You will find it in :
-Xceed.Wpf.Toolkit/CollectionControl/Themes/Aero2.NormalColors.xaml (for Windows8)
-Xceed.Wpf.Toolkit/CollectionControl/Themes/Generic.xaml (for others windows)