Xceed Toolkit Plus for WPF v4.6 Documentation
PropertyDefinitions Property (PropertyGrid)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.PropertyGrid Namespace > PropertyGrid Class : PropertyDefinitions Property

Gets or sets the collection of PropertyDefinition instances.

Syntax
'Declaration
 
Public Property PropertyDefinitions As PropertyDefinitionCollection
'Usage
 
Dim instance As PropertyGrid
Dim value As PropertyDefinitionCollection
 
instance.PropertyDefinitions = value
 
value = instance.PropertyDefinitions
public PropertyDefinitionCollection PropertyDefinitions {get; set;}

Property Value

A PropertyDefinitionCollection containing PropertyDefinition instances. 

Remarks

If AutoGenerateProperties is set to true, the PropertyGrid will generate all properties for a given object. If AutoGenerateProperties is set to false, you must add PropertyDefinition instances to PropertyDefinitions for each of the properties you want generated for display.

Note: This collection is not used when properties are provided using PropertiesSource or Properties.

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PropertyGrid Class
PropertyGrid Members