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.v21.1.dll

Declaration

public PropertyGridTabAttribute(
    ReportStringId id,
    bool showRootProperty
)

Parameters

Name Type Description
id ReportStringId

The name of a predefined Properties window 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 Properties window 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