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

PropertyGridTabAttribute(ReportStringId, Boolean) Constructor

Creates an instance of the PropertyGridTab attribute that places the target complex property in the specified predefined tab, displaying/hiding the property’s root node.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

public PropertyGridTabAttribute(
    ReportStringId id,
    bool showRootProperty
)

Parameters

Name Type Description
id ReportStringId

The name of a predefined Property Grid tab.

showRootProperty Boolean

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

Remarks

Pass one of the following localization string IDs that specify predefined Property Grid tabs:

  • DevExpress.XtraReports.Localization.ReportStringId.UD_PropertyGrid_TabAppearance
  • DevExpress.XtraReports.Localization.ReportStringId.UD_PropertyGrid_TabBehavior
  • DevExpress.XtraReports.Localization.ReportStringId.UD_PropertyGrid_TabData
  • DevExpress.XtraReports.Localization.ReportStringId.UD_PropertyGrid_TabMiscellaneous

The value passed as the showRooProperty parameter specifies the attributes’s ShowRootProperty property.

See Also