Skip to main content

PropertyGridControl.ShowProperties Property

Gets or sets whether rows should be created automatically for all fields in the underlying data source. This is a dependency property.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PropertyGrid

Declaration

public ShowPropertiesMode ShowProperties { get; set; }

Property Value

Type Description
ShowPropertiesMode

An ShowPropertiesMode enumeration value that specifies the way rows are generated.

Available values:

Name Description
All

Display all properties in the underlying data source.

WithPropertyDefinitions

Display only properties that are defined in XAML.

Remarks

Set the ShowProperties property to ShowPropertiesMode.WithPropertyDefinitions to prevent properties that are not defined in XAML from being displayed.

See Also