Skip to main content

PropertyGridTabAttribute.ShowRootProperty Property

Indicates whether to display the root node if the target property is complex.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v23.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public bool ShowRootProperty { get; }

Property Value

Type Description
Boolean

true if the complex proeprty’s root node is displayed, otherwise false.

Remarks

To move a complex property that contains a hierarchy of nested properties to a separate tab in the Properties window, apply the PropertyGridTab attribute to this property. In the attribute’s constructor, specify the target separate tab as a parameter. If the target tab contains a single complex property, you can omit the root node and display only nested properties. For this, disable the attribute’s ShowRootProperty property by passing false to the attribute’s constructor.

ShowRootProperty = true

PropertyGridTabAttribute-ShowRootProperty-true

ShowRootProperty = false

PropertyGridTabAttribute-ShowRootProperty-false

The Customize the Properties Window in the End-User Report Designer topic provides an example on how to move a property from one tab to another by applying the PropertyGridTab attribute.

See Also