Version

PropertyGridItem Class Members

The following tables list the members exposed by PropertyGridItem.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)DescriptionPropertyIdentifies the Description dependency property  
Public Fieldstatic (Shared in Visual Basic)DisplayNamePropertyIdentifies the DisplayName dependency property  
Public Fieldstatic (Shared in Visual Basic)HideFromDisplayPropertyIdentifies the HideFromDisplay dependency property  
Public Fieldstatic (Shared in Visual Basic)IsExpandablePropertyIdentifies the IsExpandable dependency property  
Public Fieldstatic (Shared in Visual Basic)IsExpandableResolvedPropertyIdentifies the IsExpandableResolved dependency property  
Public Fieldstatic (Shared in Visual Basic)IsExpandedPropertyIdentifies the IsExpanded dependency property  
Public Fieldstatic (Shared in Visual Basic)IsSelectedPropertyIdentifies the IsSelected dependency property  
Public Fieldstatic (Shared in Visual Basic)NestingLevelPropertyIdentifies the NestingLevel dependency property  
Public Properties
 NameDescription
Public PropertyChildrenReturns an enumerable of child PropertyGridPropertyItems contained within this item. (read-only)  
Public PropertyDependencyObjectTypeGets the System.Windows.DependencyObjectType that wraps the CLR type of this instance. (Inherited from System.Windows.DependencyObject)
Public PropertyDescriptionReturns/sets the description displayed for this item in the description area.  
Public PropertyDispatcherGets the System.Windows.Threading.Dispatcher this System.Windows.Threading.DispatcherObject is associated with. (Inherited from System.Windows.Threading.DispatcherObject)
Public PropertyDisplayNameReturns/sets the name used when displaying this item in the control.  
Public PropertyHasChildrenReturns true if this item contains child PropertyGridPropertyItems, otherwise false.  
Public PropertyHideFromDisplayReturns/sets whether to force the item (and all its child items if they exist) to be hidden in the UI when it would otherwise be displayed. NOTE: This property has no effect on items that are hidden based on other criteria - e.g., items that are filtered out.  
Public PropertyIsExpandableReturns true if this item can be expanded/collapsed, otherwise returns false. (read only)  
Public PropertyIsExpandableResolvedIf this PropertyGridItem is a PropertyGridCategoryItem this property returns the same value as the IsExpandable property. (read only) If this PropertyGridItem is a PropertyGridPropertyItem this property returns true if IsExpandable is true and the current property value is non-null, otherwise it returns false. (read only)  
Public PropertyIsExpandedReturns/sets whether the item is expanded.  
Public PropertyIsFilteredOutReturns true if the item is currently filtered out of the display, otherwise returns false. (read-only)  
Public PropertyIsSealedGets a value that indicates whether this instance is currently sealed (read-only). (Inherited from System.Windows.DependencyObject)
Public PropertyIsSelectedReturns/sets whether this item is selected.  
Public PropertyNestingLevelReturns the nesting level of the item. PropertyGridCategoryItems are always at level 0 while the nesting level for PropertyGridPropertyItems is 1 or greater if XamPropertyGrid.IsCategorized is true, 0 or greater otherwise. (read-only)  
Public PropertyPropertyGridReturns the XamPropertyGrid associated with this item. (read-only)  
Public PropertySortOrderReturns the sort order of this property. (read only)  
Protected Properties
 NameDescription
Protected PropertyIsHiddenReturns true if the item should be hidden.  
Public Methods
 NameDescription
Public MethodClearValueOverloaded. Clears the local value of a property. The property to be cleared is specified by a System.Windows.DependencyProperty identifier. (Inherited from System.Windows.DependencyObject)
Public MethodCoerceValueCoerces the value of the specified dependency property. This is accomplished by invoking any System.Windows.CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodDeselectDeselects the item if it is currently selected.  
Public MethodDisposeCalled when the instance is about to be discarded.  
Public MethodEquals (Inherited from System.Windows.DependencyObject)
Public MethodGetHashCodeGets a hash code for this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodGetLocalValueEnumeratorCreates a specialized enumerator for determining which dependency properties have locally set values on this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodGetValueReturns the current effective value of a dependency property on this instance of a System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodInvalidateProperty (Inherited from System.Windows.DependencyObject)
Public MethodReadLocalValueReturns the local value of a dependency property, if it exists. (Inherited from System.Windows.DependencyObject)
Public MethodSelectIf the item is not currently selected, makes this item the XamPropertyGrid.SelectedItem.  
Public MethodSetCurrentValue (Inherited from System.Windows.DependencyObject)
Public MethodSetValueOverloaded. Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from System.Windows.DependencyObject)
Public MethodToStringReturns a string representation of the object.  
Protected Methods
 NameDescription
Protected MethodOnIsExpandedChangedInvoked when the expanded state of the item has changed.  
Protected MethodOnPropertyChangedInvoked whenever the effective value of any dependency property on this System.Windows.DependencyObject has been updated. The specific dependency property that changed is reported in the event data. (Inherited from System.Windows.DependencyObject)
Protected Internal MethodShouldSerializePropertyReturns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from System.Windows.DependencyObject)
See Also