Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.PropertyGrid Namespace / PropertyGrid Class
Members Example


In This Topic
    PropertyGrid Class
    In This Topic

    Represents a control that allows users to inspect and edit the properties of an object.

    Syntax
    'Declaration
     
    <TemplatePartAttribute(Name="PART_DragThumb", Type=System.Windows.Controls.Primitives.Thumb)>
    <StyleTypedPropertyAttribute(Property="PropertyContainerStyle", StyleTargetType=Xceed.Wpf.Toolkit.PropertyGrid.PropertyItemBase)>
    <XmlLangPropertyAttribute("Language")>
    <UsableDuringInitializationAttribute(True)>
    <RuntimeNamePropertyAttribute("Name")>
    <UidPropertyAttribute("Uid")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class PropertyGrid 
       Inherits System.Windows.Controls.Control
    'Usage
     
    Dim instance As PropertyGrid
    [TemplatePart(Name="PART_DragThumb", Type=System.Windows.Controls.Primitives.Thumb)]
    [StyleTypedProperty(Property="PropertyContainerStyle", StyleTargetType=Xceed.Wpf.Toolkit.PropertyGrid.PropertyItemBase)]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class PropertyGrid : System.Windows.Controls.Control 
    Remarks

    The PropertyGrid control allows you to autogenerate all properties by setting AutoGenerateProperties to true or to specify the specific properties you want to display by setting AutoGenerateProperties to false and then adding the properties you want to display to PropertyDefinitions.

    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. To use custom editors, add instances of EditorDefinition to EditorDefinitions.

    The PropertyGrid also supports complex properties, which allows you to drill down into a nested property hierarchy.

    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. (See ITypeEditor for details and examples.)

    PropertyGrid supports DefaultPropertyAttribute. When the SelectedObject changes, the property identified by this attribute will be the default selected property.

    As of version 2.0, PropertyGrid supports the display of properties based on an IEnumerable source of items.

    Based on the same pattern as the ItemsControl's ItemsSource and Items properties, you can provide an IEnumerable to PropertiesSource or directly add property items to the Properties property. Each item provided will be displayed as a distinct property. The PropertyNameBindingPropertyValueBinding, and CategoryGroupDescription properties allow you to to control various aspects.

     

    When preparing a PropertyItemBase instance to be displayed by the PropertyGrid, the PropertyGrid will try to create an editor for the PropertyItemBase instance unless the PropertyItemBase.Editor property is already initialized by the user (see PropertyGrid.PropertyContainerStyle property and PropertyGrid.PreparePropertyItem event).

    If the Editor property is not initialized, the PropertyGrid.EditorDefinitions collection will be consulted to determine the corresponding editor to display.

    The priority of the definition keys to be used in order to find the appropriate editor for the property item is as follows:

    1. The value provided by the PropertyItemBase.DefinitionKey property.

    2. The value of the binding result of PropertyGrid.PropertyNameBinding applied on the underlying item.

    3. The value type (e.g., value.GetType()) of the binding result of PropertyGrid.PropertyValueBinding applied on the underlying item. (A lookup based on a Type instance will recursively perform the look-up using base classes to find any matching editor definition.)

    4. If PropertyGrid.PropertyValueBinding is null, the type of the underlying item. (A lookup based on a Type instance will recursively perform the look-up using base classes to find any matching editor definition.)

    When no specific EditorDefinitionBase is found in the PropertyGrid.EditorDefinitions collection, the PropertyGrid will try to automatically create an appropriate editor based on the type of the value. (See default editors.)

    If no appropriate editor is found, the EditorDefintionBase found in the PropertyGrid.DefaultEditorDefinition will be used.

    Finally, if no editor is created, a TextBlock will be used to display the value.

     

    The following is a list of the default editors that are automatically instantiated based on the type of the targeted property (when using SelectedObject[s]) or the type of the Value of the property (when using Properties or PropertiesSource).

    - bool: CheckBox
    - DateTime: DateTimeUpDown
    - Color: ColorPicker
    - decimal: DecimalUpDown
    - double: DoubleUpDown
    - float: SingleUpDown
    - byte: ByteUpDown
    - sbyte: SByteUpDown*
    - short: ShortUpDown
    - ushort: UShortUpDown*
    - int: IntegerUpDown
    - uint: UIntegerUpDown*
    - long: LongUpDown
    - ulong: ULongUpDown*
    - enum: ComboBox with fields in the enumeration
    - FontFamily: ComboBox populated with the available font families
    - FontWeight: ComboBox populated with the possible font weights
    - FontStyle: ComboBox populated with the possible font styles
    - FontStretch: ComboBox populated with the possible font stretches

    For CLS compliance, these editor are not available on the public API.

    When using SelectedObject[s] only:
    - object: TextBox
    - TimeSpan: DateTimeUpDown using a converter
    - IList<T>:
    a) When T is one of the primitive type or a string: PrimitiveTypeCollectionControl
    b) When T is NOT a primitive type or a string : CollectionEditor

     

    These are the available built-in EditorDefintionBase-derived classes that allow you to easily customize the display the editor of the properties.

    - EditorTemplateDefinition

    - EditorComboBoxDefinition

    - EditorCheckBoxDefinition

    - EditorColorPickerDefinition

    - EditorTextDefinition

    - EditorDateTimeUpDownDefinition

    - EditorByteUpDownDefinition

    - EditorDecimalUpDownDefinition

    - EditorDoubleUpDownDefinition

    - EditorIntegerUpDownDefinition

    - EditorLongUpDownDefinition

    - EditorShortUpDownDefinition

    - EditorSingleUpDownDefinition

    Each editor definition has its own custom properties that allow you to easily customize the display of the represented editor. With the exception of EditorTemplateDefinition, they all provide the EditingElementStyle that allows you to style and get a more in-depth customizing scenario.

    Example
    Using PropertiesSource
    <xctk:PropertyGrid SelectedObjectName="Meeting"
    				 PropertyNameBinding="{Binding Name}"
    				 PropertyValueBinding="{Binding Department}" 
    				 PropertiesSource="{Binding EmployeList}" />
    Using Properties property.
    <xctk:PropertyGrid SelectedObjectName="Meeting"
    				 PropertyNameBinding="{Binding Name}"
    				 PropertyValueBinding="{Binding Department}" >
          <xctk:PropertyGrid.Properties>
             <l:Employee Name="Tom" Department="Sales"/>
             <l:Employee Name="John" Department="Management"/>
             <l:Employee Name="Sean" Department="Sales"/>
          </xctk:PropertyGrid.Properties>
       </xctk:PropertyGrid>
    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             System.Windows.Media.Visual
                System.Windows.UIElement
                   System.Windows.FrameworkElement
                      System.Windows.Controls.Control
                         Xceed.Wpf.Toolkit.PropertyGrid.PropertyGrid

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the PropertyGrid class.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Identifies the AdvancedOptionsMenu dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the AutoGenerateProperties dependency property.  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CategoryGroupDescription dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CategoryGroupHeaderTemplate dependency property.  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DefaultEditorDefinition dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the EditorDefinitions dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Filter dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the FilterWatermark dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HideInheritedProperties dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsCategorized dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsExpandingNonPrimitiveTypes dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsMiscCategoryLabelHidden dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsReadOnly dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsScrollingToTopAfterRefresh dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsVirtualizing dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the NameColumnWidth dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the PreparePropertyItem routed event..  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the PropertiesSource dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the PropertyContainerStyle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the PropertyDefinitions dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the PropertyNameLeftPadding dependency property.  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the PropertyValueChanged routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedObjectChanged routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedObjectName dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedObject dependency property.  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedObjectsOverride dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedObjectTypeName dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedObjectType dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedPropertyItemChanged routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedPropertyItem dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedProperty dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ShowAdvancedOptions dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ShowDescriptionByTooltip dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ShowHorizontalScrollBar dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ShowPreview dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ShowSearchBox dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ShowSortOptions dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ShowSummary dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ShowTitle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the UpdateTextBoxSourceOnEnterKey dependency property.  
    Top
    Public Properties
     NameDescription
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the contextual menu to use when the advanced menu button is clicked.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets a value indicating whether the PropertyGrid will generate all properties for a given object.  
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property  
    Public Property

    Gets or sets the GroupDescription to be applied on the source items in order to define the groups when the PropertyGrid is Categorized.

     
    Public PropertyGets or sets the DataTemplate to use to define the category headers when the propertyGrid is categorized.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the default editor definition to use when the property value type is not supported.  
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Threading.DispatcherObject)
    Public Property

    Gets or sets a collection of custom editors to use in place of the default editors.

     
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets the filter used to filter the visible properties in the PropertyGrid.  
    Public PropertyGets or sets the watermark used in the filter field.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property

    Gets or sets a value indicating if the inherited properties of the selected object will be hidden.

     
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets a value indicating whether the properties displayed in the PropertyGrid are categorized.  
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets if the non-primitive types properties will be expandables to edit their sub-items directly from the PropertyGrid. Default is false.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets a value indicating whether the "Misc" category expander should be hidden.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets a value indicating whether the property grid is read-only.  
    Public PropertyGets or sets if the PropertyGrid's vertical scrollViewer will scroll to top following a refresh of the PropertyItems.  
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property

    Gets or sets if the PropertyGrid is using Virtualization.

    Using Virtualization will load faster a SelectedObject with a large set of propertyItems, but the scrollbar thumb will estimate its size and re-adjust upon scrolling.
     
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the width of the property name column.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets the current collection of generated PropertyItem instances.  
    Public PropertyGets or sets the items source for the properties of the PropertyGrid.  
    Public PropertyGets or sets the style that will be applied to all PropertyItemBase instances displayed in the property grid.  
    Public Property

    Gets or sets the collection of PropertyDefinition instances.

     
    Public PropertyGets or sets the Binding to be used on the property's underlying item to get the name of the property to display  
    Public PropertyGets or sets the left padding of each propertyItem name in the PropertyGrid.  
    Public PropertyGets or sets if text wrapping should be used for the long property names.  
    Public PropertyGets or sets the Binding to be used on the property's underlying item to get the value of the property to display.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the current object the PropertyGrid is inspecting,  
    Public PropertyGets or sets the name of the SelectedObject.  
    Public PropertyGets the currently selected objects the PropertyGrid is inspecting,  
    Public PropertyGets or sets the list of selected objects.  
    Public PropertyGets or sets the Type of the SelectedObject.  
    Public PropertyGets or sets the name of the Type of the SelectedObject.  
    Public PropertyGets or sets the selected property or returns null if the selection is empty.  
    Public PropertyGets the selected PropertyItem.  
    Public PropertyGets or sets a value indicating whether the advanced options button next to the properties is displayed.  
    Public PropertyGets/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.  
    Public PropertyGets or sets if the horizontal scroll bar will be visible in the PropertyGrid.  
    Public Property  
    Public PropertyGets or sets a value indicating whether the search box is displayed.  
    Public PropertyGets or sets a value indicating whether the sort options are displayed (Categorized and Alphabetical).  
    Public PropertyGets or sets a value indicating whether the summary pane is shown.  
    Public PropertyGets or sets a value indicating whether the PropertyGrid's title is displayed.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Top
    Protected Properties
     NameDescription
    Protected Internal Property (Inherited from System.Windows.FrameworkElement)
    Protected Internal Property (Inherited from System.Windows.Controls.Control)
    Protected Internal Property (Inherited from System.Windows.UIElement)
    Protected Internal Property (Inherited from System.Windows.FrameworkElement)
    Protected Property (Inherited from System.Windows.UIElement)
    Protected Internal Property (Inherited from System.Windows.FrameworkElement)
    Protected Property (Inherited from System.Windows.UIElement)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.FrameworkElement)
    Protected Internal Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Internal Property (Inherited from System.Windows.Media.Visual)
    Protected Internal Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Adds a handler for the ClearPropertyItem attached event  
    Public MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Public Methodstatic (Shared in Visual Basic)Adds a handler for the PreparePropertyItem attached event.  
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Public MethodOverridden. Signals the beginning of a batch modification process.  
    Public MethodOverloaded.  (Inherited from System.Windows.FrameworkElement)
    Public MethodOverloaded.  (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodCollapses all categories in the PropertyGrid.  
    Public MethodCollapse all the PropertyItems and their sub-PropertyItems.  
    Public MethodCollapses the specified property in the PropertyGrid.  
    Public MethodCollapse the PropertyItem( or the sub-PropertyItem) with the specific propertyName.  
    Public MethodOverridden. Signals the end of a batch modification process.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodExpands all categories in the PropertyGrid.  
    Public MethodExpand all the PropertyItems and their sub-PropertyItems.  
    Public MethodExpands the specified property in the PropertyGrid.  
    Public MethodExpand the PropertyItem( or the sub-PropertyItem) with the specific propertyName.  
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodGets a list containing all the category names.  
    Public MethodGets a list containing the names of the categories that are collapsed.  
    Public MethodGets a list containing the names of the categories that are expanded.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodReturns a value that contains the vertical offset of the PropertyGrid's ScrollViewer.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public MethodGets if the specified category is collapsed.  
    Public MethodGets if the specified category is expanded.  
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodOverridden. Builds the visual tree for the element.  
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Methodstatic (Shared in Visual Basic)Removes a handler for the ClearPropertyItem attached event  
    Public Method (Inherited from System.Windows.UIElement)
    Public Methodstatic (Shared in Visual Basic)Removes a handler for the PreparePropertyItem attached event.  
    Public MethodScrolls vertically to the end of the PropertyGrid's ScrollViewer.  
    Public MethodScrolls the PropertyGrid's scrollViewer to the specified vertical offset position.  
    Public MethodScrolls vertically to the beginning of the PropertyGrid's ScrollViewer.  
    Public MethodOverloaded.  (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.Controls.Control)
    Public MethodOverloaded.  (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodUpdates all property values in the PropertyGrid with the data from the SelectedObject or SelectedObjects.  
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Top
    Protected Methods
     NameDescription
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Media.Visual)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected MethodOverride this call to control the filter applied based on the text input.  
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodOverridden.   
    Protected Method (Inherited from System.Windows.Media.Visual)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodCalled when EditorDefinitions changes.  
    Protected MethodCalled when Filter changes.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodCalled when IsCategorized changes.  
    Protected Method  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodCalled when NameColumnWidth changes.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodOverridden. Overridden to allow the control to respond to the Enter key.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodOverridden. Called when the PropertyChanged event is raised.  
    Protected MethodCalled when PropertyContainerStyle has changed.  
    Protected MethodCalled when PropertyDefinitions changes.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodCalled when SelectedObject changes.  
    Protected MethodCalled when SelectedObjectType changes.  
    Protected MethodCalled when SelectedPropertyItem has changed.  
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Internal Method (Inherited from System.Windows.Media.Visual)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Media.Visual)
    Protected MethodCalled when SelectedObjectName changes.  
    Protected Internal Method (Inherited from System.Windows.DependencyObject)
    Top
    Public Events
     NameDescription
    Public EventRaised when a category is collapsed.  
    Public EventRaised when a category is expanded.  
    Public EventRaised when an property item is about to be remove from the display in the PropertyGrid.  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public EventRaised for each propertyItem of the PropertyGrid.SelectedObject when someone is registered to this event and want to set individually the visibility of propertyItems in the PropertyGrid.  
    Public EventRaised for each propertyItem of the PropertyGrid.SelectedObject when someone is registered to this event and want to set individually if propertyItems are expandables in the PropertyGrid.  
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.Controls.Control)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event

    Raised when a property item is about to be displayed, either from PropertyItem or PropertyGrid, depending on which one is being expanded.

     
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.Controls.Control)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public EventRaised when all the properties of the PropertyGrid are generated.  
    Public EventRaised when the value of a property has changed.  
    Public EventRaised when a property's value changes.  
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public EventRaised when the selected object changes.  
    Public EventRaised when the SelectedObjectsOverride property changes.  
    Public EventRaised when SelectedProperty changes.  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Top
    Requirements

    See Also