Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PropertyGridTabAttribute.ShowRootProperty Property

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

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v24.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