Skip to main content
A newer version of this page is available. .

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.v18.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowProperties property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also