The requested page is not available for the requested platform. You are viewing the content for Default platform.

PropertyGridTabAttribute.ShowRootProperty Property

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

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

public bool ShowRootProperty { get; }
Public ReadOnly Property ShowRootProperty As Boolean

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 Property Grid, 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 Property Grid 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