Derives from Control

The PropertyGrid control allows you inspect and edit properties of an object. This PropertyGrid allows you to autogenerate all properties or specify the specific properties you want to display. You can use the standard editors that are provided with the PropertyGrid or you can use custom editors that target a Type, specific properties, or both. The PropertyGrid also supports complex properties, which allows you to drill down into a nested property hierarchy.


Specifying Properties

By default the propertyGrid will autogenerate all the properties for a given object. You can override this behavior by setting the AutoGenerateProperties property to False, and then provide a collection of PropertyDefinitions of the properties you would like to show.


            <xctk:PropertyGrid x:Name="_propertyGrid" Width="450" Margin="10"
                <!-- Only the following properties will be displayed in the PropertyGrid -->
                    <xctk:PropertyDefinition TargetProperties="FirstName" />
                    <xctk:PropertyDefinition TargetProperties="FavoriteColor" />
                    <xctk:PropertyDefinition TargetProperties="PetNames" />

Custom Editors

By default the PropertyGrid comes with 19 built-in editors:
  • ByteUpDownEditor
  • CheckBoxEditor
  • CollectionEditor
  • ColorEditor
  • DateTimeUpDownEditor
  • DecimalUpDownEditor
  • DoubleUpDownEditor
  • EnumComboBoxEditor
  • FileEditor (Plus version only)
  • FontComboBoxEditor
  • IntegerUpDownEditor
  • ItemsSourceEditor
  • LongUpDownEditor
  • MaskedTextBoxEditor
  • PrimitiveTypeCollectionEditor
  • ShortUpDownEditor
  • SingleUpDownEditor
  • TextBlockEditor
  • TextBoxEditor
  • TimeSpanEditor

Custom Editors with DataTemplates

You can override the default editors with your own custom editors with a DataTemplate. Simply define an EditorDefinition that either targets a Type, property name, or both and set the EditorDefinition.EditorTemplate to an instance of a DataTemplate. Be sure to bind your custom editor to the bound property item's Value property.


        <xctk:PropertyGrid x:Name="_propertyGrid" Grid.Row="1" 
                         Width="450" MaxHeight="375" Margin="10"

               <!--  EditorTemplateDefinition #1
               This EditorTemplateDefinition will provide a green TextBox to:
               1) All properties of type Double
               Replacing the default editor. -->
               <xctk:EditorTemplateDefinition TargetProperties="{x:Type sys:Double}">
                        <TextBox Background="Green"  Text="{Binding Value}" />
                        When using SelectedObject[s] bind to the "Value" property 
                        When using PropertiesSource or Properties to specify your items,
                        your DataContext will be the item itself, so bind directly to the 
                        property of your underlying item, hence, probably the same path as 
                        the one you specified on the 'PropertyValueBinding'
                        property of your property grid.

               <!--  EditorTemplateDefinition #2
               This EditorTemplateDefinition will provide a yellow TextBox to:
               1) The property named "LastName"
               2) The property named "FirstName"
               3) The property named "Spouse"
               Replacing the default editor. -->
               <xctk:EditorTemplateDefinition TargetProperties="FirstName,LastName,WritingFont">
                        <TextBlock Background="Yellow" Text="{Binding Value}" />

               <!--  EditorTemplateDefinition #3
               This EditorTemplateDefinition will provide a red TextBox to:
               1) The property named "Age"
               2) All properties of type DateTime
               Replacing the default editor. -->
               <xctk:EditorTemplateDefinition >
                     <xctk:TargetPropertyType Type="{x:Type sys:DateTime}" />
                        <TextBox Background="Red" Text="{Binding Value}" />

               <!--  EditorTemplateDefinition #4
               This EditorTemplateDefinition will provide a aquamarine TextBox to:
               1) All properties of type "bool" (Boolean)
               2) All properties of type HorizontalAlignment
               3) All properties of type FontFamily
               Replacing the default editor. -->
               <xctk:EditorTemplateDefinition >
                     <xctk:TargetPropertyType Type="{x:Type sys:Boolean}" />
                  <xctk:TargetPropertyType Type="{x:Type HorizontalAlignment}" />
                  <xctk:TargetPropertyType Type="{x:Type FontFamily}" />
                        <TextBox Background="Aquamarine" Text="{Binding Value}" />


Custom Editors with Attributes

You can supply editors for a property by using the System.ComponentModel.EditorAttribute. In order to provide an editor with an attribute, the editor MUST implement the ITypeEditor interface. Your editor can be a simple class or a complex UserControl.


        public class CustomAttributEditorPerson
            [DisplayName("First Name")]
            [Description("This property uses a TextBox as the default editor.")]
            //This custom editor is a Class that implements the ITypeEditor interface
            [Editor(typeof(FirstNameEditor), typeof(FirstNameEditor))]
            public string FirstName { get; set; }

            [DisplayName("Last Name")]
            [Description("This property uses a TextBox as the default editor.")]
            //This custom editor is a UserControl that implements the ITypeEditor interface
            [Editor(typeof(LastNameUserControlEditor), typeof(LastNameUserControlEditor))]
            public string LastName { get; set; }

Using a custom class:

    //Custom editors that are used as attributes MUST implement the ITypeEditor interface.
    public class FirstNameEditor : Xceed.Wpf.Toolkit.PropertyGrid.Editors.ITypeEditor
        public FrameworkElement ResolveEditor(Xceed.Wpf.Toolkit.PropertyGrid.PropertyItem propertyItem)
            TextBox textBox = new TextBox();
            textBox.Background = new SolidColorBrush(Colors.Red);

            //create the binding from the bound property item to the editor
            var _binding = new Binding("Value"); //bind to the Value property of the PropertyItem
            _binding.Source = propertyItem;
            _binding.ValidatesOnExceptions = true;
            _binding.ValidatesOnDataErrors = true;
            _binding.Mode = propertyItem.IsReadOnly ? BindingMode.OneWay : BindingMode.TwoWay;
            BindingOperations.SetBinding(textBox, TextBox.TextProperty, _binding);
            return textBox;

Using a UserControl:

<UserControl x:Class="Samples.Modules.PropertyGrid.LastNameUserControlEditor"
            <TextBox Text="{Binding Value, ElementName=_uc}" Background="YellowGreen"  />
            <Button Click="Button_Click">Clear</Button>

    public partial class LastNameUserControlEditor : UserControl, ITypeEditor
        public LastNameUserControlEditor()

        public static readonly DependencyProperty ValueProperty = DependencyProperty.Register("Value", typeof(string), typeof(LastNameUserControlEditor), 
                                                                                                new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault));
        public string Value
            get { return (string)GetValue(ValueProperty); }
            set { SetValue(ValueProperty, value); }

        private void Button_Click(object sender, RoutedEventArgs e)
            Value = string.Empty;

        public FrameworkElement ResolveEditor(Xceed.Wpf.Toolkit.PropertyGrid.PropertyItem propertyItem)
            Binding binding = new Binding("Value");
            binding.Source = propertyItem;
            binding.Mode = propertyItem.IsReadOnly ? BindingMode.OneWay : BindingMode.TwoWay;
            BindingOperations.SetBinding(this, LastNameUserControlEditor.ValueProperty, binding);
            return this;

Custom ItemsSource

Sometimes it is desirable to want to provide a collection of values represented by a ComboBox for a given property. The PropertyGrid supports this scenario by creating a class that implements the IItemsSource interface and decorating your property with the ItemsSourceAttribute.


        public class Person
            [DisplayName("Writing Font Size")]
            [Description("This property uses the DoubleUpDown as the default editor.")]
            public double WritingFontSize { get; set; }

The custom ItemsSource class:

    public class FontSizeItemsSource : IItemsSource
        public ItemCollection GetValues()
            ItemCollection sizes = new ItemCollection();
            sizes.Add(5.0, "Five");
            sizes.Add(6.0, "Six");
            sizes.Add(7.0, "Seven");
            sizes.Add(8.0, "Eight");
            sizes.Add(9.0, "Nine");
            sizes.Add(12.0, "Twelve");
            return sizes;

Expandable Properties

Sometimes it is neccessary to show the properties of a complex object. The PropertyGrid supports this scenario and allows you to drill down into a property's heirarchy. To enable this behavior you must decorate your property with the ExpandableObject attribute.


        public class Person
            [DisplayName("First Name")]
            [Description("This property uses a TextBox as the default editor.")]
            public string FirstName { get; set; }

            [Description("This property is a complex property and has no default editor.")]
            public Person Spouse { get; set; }


Property Description
AdvancedOptionsMenu Gets/Sets the contextual menu to use when the advanced menu button is clicked.
AutoGenerateProperties Get/Sets if the propertyGrid should generate all properties for a given object. If False you must provide PropertyDefinitions for the properties you want to generate.
EditorDefinitions Get/Sets a collection of custom editors to use in place of the default editors. (Breaking change as of v1.6.0: previously was CustomTypeEditors.)
Filter Gets/Sets the filter used to filter the visible properties in the PropertyGrid.
FilterWatermark Gets/Sets the watermark used in the filter field.
HideInheritedProperties Gets or sets if the Inherited properties of the selected object will be hidden. Default is False.
IsCategorized Gets/Sets the layout of the PropertyGrid.
IsReadOnly Gets or sets a value indicating whether the property grid is read-only.
NameColumnWidth Gets/Sets the width of the property name column.
Properties Gets the current collection of generated PropertyItems.
PropertyDefinitions When AutoGenerateProperties = False, gets/sets the properties that will be generated by the PropertyGrid
SelectedObject Gets/Sets the current object the PropertyGrid is inspecting,
SelectedObjectName Gets/Sets the SelectedObject name.
SelectedObjectType Gets/Sets the Type of the SelectedObject.
SelectedObjectTypeName Gets/Sets the name of the Type of the SelectedObject.
SelectedProperty Gets or sets the selected property or returns null if the selection is empty.
SelectedPropertyItem Gets the currently selected PropertyItem
ShowAdvancedOptions Gets/Sets the visibility of the advanced options button next to the properties.
ShowPreview Gets or sets if the preview of the control is displayed
ShowDescriptionByTooltip Gets/Sets if the Description of the PropertyItem will be displayed as a tooltip on the PART_Name of the PropertyItem. When ShowDescriptionByTooltip is True and the DescriptionAttribute on the PropertyItem is not null and not empty, it will be displayed as a tooltip.
ShowSearchBox Gets/Sets a value indicating whether the search box is displayed. By default, true.
ShowSortOptions Gets/Sets a value indicating whether the show sort options are displayed (Categorized and Alphabetical). By default, true.
ShowSummary Gets or sets a value indicating whether the summary pane is shown.
ShowTitle Gets or sets a value indicating whether the PropertyGrid's title is displayed.
UpdateTextBoxSourceOnEnterKey Gets or sets if the source of the propertItem represented by a TextBox will be updated when Enter key is pressed.


Event Description
ClearPropertyItem This event is raised when an property item is about to be remove from the display in the PropertyGrid. This allow the user to remove any attached handler in the PreparePropertyItem event.
PreparePropertyItem This event is raised when a property item is about to be displayed in the PropertyGrid. This allow the user to customize the property item just before it is displayed.
PropertyValueChanged Raised when a property's value changes.
SelectedObjectChanged Raised when SelectedObject changes.
SelectedPropertyItemChanged Raised when SelectedProperty changes.

Support this project, check out the Plus Edition.

Last edited Jun 1, 2016 at 2:51 PM by dlafontaine, version 44


BoucherS Mar 7 at 5:58 PM 
Discussion has been created.

charker Mar 6 at 3:51 PM 
How do I change the "format" of the standard DateTime editor? I want to display a date only. I tried something like this but nothing has changed at all. I also tried "Text=" in the DateTimeUpDown

<xctk:PropertyGrid x:Name="propertyGridOut" Margin="0,0,0,0" BorderBrush="black" >
<xctk:TargetPropertyType Type="{x:Type sys:DateTime}" />
<xctk:DateTimeUpDown Value="{Binding Value}" Format="ShortDate" />

pauloloid Sep 27, 2016 at 1:48 PM 
I cannot Open A popup windows when I use the custom editor with a button in it. After I click the button which should open a popup, the property cell border gets red!?

BoucherS Sep 8, 2016 at 12:35 PM 
For Color : you are using System.Drawing.Color. Try using System.Windows.Media.Color instead.
For Font : you are using System.Drawing.Font. Try using System.Windows.Media.FontFamily

XceS Sep 8, 2016 at 8:02 AM 
For some reason, some default properties aren't using the built-in ITypeEditors..
I got a Color and a Font property, but they're just displayed as text, they don't have the Editor as shown in the Images above
Here's my Project:
What am i doing wrong?

T_C Feb 27, 2016 at 8:05 PM 
BoucherS, I got it working. I think I made a mistake applying the correction you posted yesterday, but I've got that fixed and now everything is working as it is supposed to. Much thanks for your help.

BoucherS Feb 26, 2016 at 7:51 PM 
Hi T_C,
I don't have a runTime error. Can you create an issue and add a sample project producing the bug ?

T_C Feb 26, 2016 at 5:52 PM 
BoucherS, Thank you for the quick reply. I can confirm that your change eliminates the error from the Designer. However, I'm also getting a runtime error, and that persists even with the change. The error is:

Object of type 'System.RuntimeType' cannot be converted to type 'System.Collections.IList'.

From your comment, it sounds like you are not getting the runtime error. I wonder what we are doing differently. I've tried to replicate the example in as much detail as possible. I'm using Visual Studio 2015 running .NET 4.5.2. I can't ask you to help me troubleshoot this, but if you have any ideas, please let me know.

BoucherS Feb 26, 2016 at 1:43 PM 
This is not an error. TargetProperties is an IList, but you can set it in XAML with a type, or strings separated by comma. An internal TypeConverter is used to convert what you pass and add it to a List. The error is only present in the Designer. To prevent the error, you can rewrite the lines :
<xctk:EditorTemplateDefinition TargetProperties="{x:Type sys:Double}">
<xctk:TargetPropertyType Type="{x:Type sys:Double}" />

T_C Feb 26, 2016 at 2:35 AM 
Are the examples correct? When I try the example code from the section "Custom Editors with DataTemplates", I get an error on the line <xctk:EditorTemplateDefinition TargetProperties="{x:Type sys:Double}"> which says "The specified value cannot be assigned. The following type was expected: 'IList'."

BoucherS Jan 15, 2016 at 1:47 PM 
You can use the PropertyOrder attribute to position the PropertyItems : ex : [PropertyOrder( 2 )]

ricky_patnaik Jan 14, 2016 at 4:10 AM 
Hi, is there a way to remove alphabetical sorting in categorized matter what I do it always seems to sort properties alphabetical order...please suggest a workaround..

BoucherS Oct 9, 2015 at 8:11 PM 
Hi, PropertyGrid.SelectedObjects is supported since early 2013 in the Plus edition of the Toolkit.
Please have a look at the documentation of the PropertyGrid in the Plus Edition of the Toolkit :

Shujee Oct 8, 2015 at 8:03 AM 
So after so many years, does this control yet supports multiple selection, something on the lines of SelectedObjects?

BoucherS Mar 19, 2015 at 12:57 PM 
Hi faeriedust ,
Discussion has been created.

faeriedust Mar 18, 2015 at 9:44 PM 
I want access to the viewmodel that the property is on.. For instance, I want to have a dropdown of available items... I added a list of available items to my view model but I can't seem to get access to it from the editor template.... ._.

I tried referencing the outside element by name but it doesn't seem to work? Very confused xD

BoucherS Mar 9, 2015 at 12:51 PM 
Hi, fitidnc,
Discussion has been created.

fitidnc Mar 7, 2015 at 2:20 AM 
There are so many things wrong when you use collection. 1) When you use ExpandableObject Array expands but the array is not sorted by index. How do I sort it by index. 2) Using ExpandableObject on List or Dictionary doesn't work at all. I can't see the elements of list when I expand the list.

BoucherS Aug 29, 2014 at 3:26 PM 
Hi mb2342, please have a look at

BoucherS Aug 11, 2014 at 2:02 PM 
Hi mb2342,

I understand your reflexion on not having unsorted properties in the propertyGrid, but you should be respectful and not do any presumptions. We continue to develop the toolkit and add features to it, but we need to deal with was done by the original developper of the product and how the community uses to different properties of the currently deployed controls from the toolkit to limit the breaking changes.
You should be using the discussion tab or the issue tab to express your needs for any controls from the toolkit. We based our development on what the community really want. I don't think having an unsorted property mode in the propertyGrid would be a big thing, but you are one of the few (maybe the first) that need this and prefer not to use the PropertyOrder Attribute.
Issue has been created,

mb2342 Aug 8, 2014 at 11:31 PM 
An additional comment, cause i did not have the time to explain the expected behaviour in detail, in my previous post: If you have a look at the Windows.Forms PropertyGrid, you can see, how the user experience works, that i previously mentioned. They do it right. Play with the "PropertySort"-Property and see how a Model will be showed. They use the "Unsorted"-Principle that i previously mentioned. Hope it helps and pray for a better WPF property grid experience in future, cause the WPF is sooo wunderful but lacks sooo much of "Standards" every UI-Developer needs. Its a shame.

mb2342 Aug 8, 2014 at 10:51 PM 
Btw: I think beneath 80% out there sorting their properties in a model in the order they should appear. So, 80% have to do something special shit, just to get something what you can get if you order your properties right in the class.

mb2342 Aug 8, 2014 at 10:50 PM 
Why in the hell is the sorting so stupid ? If you want the order of the properties as they were declared in the class, you have to add and count manually a PropertySortAttribute. That means if your model resides somewhere else, you must deliver the extented wpf toolkit assembly just to NOT sort the properties. WTF ?

This is how it should be:

Declare a third sort order named "unsorted". Let it be the default. If there are no categories defined, sort the properties as they were declared (unsorted). If a category is defined, sort the properties unsorted under this category. When you select alphabetically they are sorted alphabetically. If a PropertyCustomSortAttribute exists, you can sort to that. Easy as that.

Really, i am a software developer since 12 years and there is absolutely nothing special here. If i recall correctly, some guys that develop on the E-WPF-TK are from MS. That depresses me. Its really easy to make the sorting of a property grid userfriendly and working as expected.

iBeta Mar 23, 2014 at 2:11 PM 
The Workflow PropertyInspector does not work with multiple objects, if the objects are user defined.
Makes it pretty useless except for single object inspection.
It is in the PLUS edition of the xceedingly greedy toolkit - but I'm not paying for something which should be implemented anyway.

jtu100 Jan 31, 2014 at 4:19 PM 
It's a shame you can't inspect complex type properties without having to modify them with ExpandableObject. Or is there a way? Seems like a very common use-case.

JonDemers Jan 10, 2014 at 8:57 PM 
It looks like I can do what I would like using System.Reflection.Emit TypeBuilder, and PropertyBuilder. But if there is a better way, I'd not mind knowing it.

JonDemers Jan 10, 2014 at 5:47 PM 
I'm fairly new to C# WPF, and am not sure if the property grid is usable for this, there are aspects to C# that I'm still learning to wrap my head around.
I have a list of dataclass where the data class has the following properties, Parent, Name, Value, ValueType. What I'd like to do is somehow convert things so that the property grid displays the data in the manner where Parent is Category, Name is the property name, and Value is the property value with the editor determined by the ValueType.
Basically, I have an xml file that contains config information blocks, and I need to display each block on its own. There are several different types of blocks, and their contents are somewhat fluid, so a specific class for each block really doesn't work well.
I'm hoping that there is a way to override the automatic property generation on the lists, but if I have to populate and depopulate manually I can also do that.
General Class structure is roughly:
public class ConfigBlock
public List<DataUnit> Data { get; set; } // This is the data that needs to be converted for display.

public class DataUnit
public string Parent { get;set; }
public string Name {get;set;}
public string Value {get;set}
public DataTypes ValueType {get;set}

public enum DataTypes
List1, // Value limited to items in a seperate list of strings. (drop-down menu)
List2, // Value limited to items in seperate list of strings (drop-down menu)
List3 // Value limited to items in seperate list of strings (drop-down menu)

Is there a way to do this? If you can point me in the right direction I'd be thankful. I've been trying to search for examples but am getting a bit confused and have gone down several wrong paths.

phillipderemer Dec 17, 2013 at 12:09 PM 
Hi I actualy have to complayne about some thing. I am making a kind of Form Designer so I developed a class implementing the System.ComponentModel.ICustomTypeDescriptor overloading the GetProperties Function but it isn't been called maybe you propertygrid goes to deep. I actualy used a windows form host to check if i am making a mistake on this one but the windows.forms.propertygrid shows the editable propertys here is some code to look at:

Public Class cPropertyView
Implements System.ComponentModel.ICustomTypeDescriptor

Private _PropertyDictionary As Object
Public Property PropertyDictionary() As Object
Return _PropertyDictionary
End Get
Set(ByVal value As Object)
_PropertyDictionary = value
End Set
End Property


Public Function GetProperties(attributes() As Attribute) As ComponentModel.PropertyDescriptorCollection Implements ComponentModel.ICustomTypeDescriptor.GetProperties
Dim NewPropertyList As New System.ComponentModel.PropertyDescriptorCollection({})

Dim NewProp As New SelfProperty("NewProp", attributes)
NewProp.PropType = GetType(Integer)
NewProp.Value = 12
NewProp.DisName = "Number"
NewProp.Discript = "a Number of Type Integer."


Return NewPropertyList
End Function
End Class

Public Class SelfProperty
Inherits System.ComponentModel.PropertyDescriptor


slartus Nov 7, 2013 at 5:03 AM 
Can I dynamically control the visibility of the properties?


public Boolean NeedLogin {get; set;}

[DynamicPropertyFilter ("NeedLogin", "True")]
public String LoginPage {get; set;}

BoucherS Jul 29, 2013 at 6:53 PM 
Yes ICustomTypeDescriptor works, as long as properties that have a TypeDescriptor attribute.

mbuchwald Jul 16, 2013 at 3:50 PM 
Will this work with an object that is an ICustomTypeDescriptor and with properties that have a TypeDescriptor attribute?

SeeWold Jul 1, 2013 at 4:10 PM 
Does editor supports modal dialog form? if yes ,how?

Please reply.

Thanks & Regards,

jmahaffe May 28, 2013 at 11:55 PM 
Is it possible to have do a "ShowAdvanced" flag on a per item basis? I can only see how to turn it on for all properties

AlexShulg May 16, 2013 at 3:59 AM 
hi ashwin893,
for custom sort properties use PropertyOrderAttribute:
[System.ComponentModel.DisplayName("My name")]
public string Name { get; set; }

ashwin893 May 15, 2013 at 8:22 AM 
<no name> tag appears on the Property Grid when Selected Index is -1.
Please help me how to remove the tag ?

ashwin893 May 15, 2013 at 8:21 AM 
I need some custom Sort of the properties which are shown in the Property Grid. Please help me out if there is any possibility.

ernest_le_vampire Dec 30, 2012 at 9:06 PM 
I think my question is the same as hamed63's.
Is it possible to have support for checked list box control?

bvisual Dec 5, 2012 at 9:36 PM 
I am having trouble getting the Browsable attribute to have any effect at all using 1.8.0 from NuGet, using .Net 4. Is it just me? I have tried in several projects ... the property remains visible, regardless of True or False.

emartin Aug 29, 2012 at 1:38 PM 
SoonDead and Hamed63: the following issue has been created to address your needs:

I encourage any bug or feature request to be logged in the Issue Tracker instead.

SoonDead Aug 29, 2012 at 6:13 AM 
This would be everything I have ever wanted if it supported editing multiple objects at the same time!

I'm already thinking about writing a proxy that makes an object from the multiple items that are selected and feed it to this panel.

diptesh_raut Jul 24, 2012 at 11:08 AM 
This looks a great control for WPF based controls. I have some queries:
1. Does this property grid supports custom class containing different control objects?
For example, i have a class which contains one grid control object.
2. If yes, does it display all the properties and expandable properties of the grid control?
3. Also, i have observed that this property grid shows less number of properties as compared to in windows form property grid. Any way to get all the properties in the controls?
4. When collection editor will be available? How much generic it will be? Will i get an event on setting collection editor(this functionality is not available in win forms property grid control)?

Please reply.

Thanks & Regards,

j2associates Jun 13, 2012 at 10:38 PM 
We needed minimum and maximum values for custom editors. Here is the xaml to use custom editors for integer fields and decimal fields:

<xctk:PropertyGrid Grid.Column="2" SelectedObject="{Binding}">

<!-- Editors -->

<!-- Minimum 1, Maximum 50, DefaultValue = 1, Used for Rows and Columns -->
<xctk:PropertyDefinition Name="Rows" />
<xctk:PropertyDefinition Name="Columns" />
<xctk:IntegerUpDown Value="{Binding Value}" Minimum="1" Maximum="50" DefaultValue="1" />

<!-- Minimum 0, Maximum 1, DefaultValue 0.125, Increment 0.03125, Used for Gutters and Gaps -->
<xctk:PropertyDefinition Name="TopMargin" />
<xctk:PropertyDefinition Name="LeftMargin" />
<xctk:PropertyDefinition Name="VerticalGutter" />
<xctk:PropertyDefinition Name="HorizontalGutter" />
<xctk:DecimalUpDown Text="{Binding Value}" Minimum="0" Maximum="1" DefaultValue="0.125" Increment="0.03125" />


tjc Jun 6, 2012 at 2:48 PM 
needs a BrushEditor

j2associates May 16, 2012 at 5:23 PM 
To prevent a property from being displayed in the property grid, decorate it with System.ComponentModel.BrowsableAttribute set to false
public int YourProperty { get; set; }

rajkishor09 May 9, 2012 at 1:32 PM 
Do we have display order of properties in property grid. By default it shows property in alphabetical order but I need to show property in customer manner like firstname, lastname, address, city and so on. any help on this?

Hamed63 Apr 23, 2012 at 6:14 AM 
Can you please support multiselection
a prperty like 'SelectedObjects'