Skip to main content
Bar

BarManagerCategory(String, Guid, Boolean) Constructor

Initializes a new instance of the BarManagerCategory class with custom settings.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public BarManagerCategory(
    string name,
    Guid guid,
    bool visible
)

Parameters

Name Type Description
name String

A string value specifying the name of the created category. This value is assigned to the BarManagerCategory.Name property.

guid Guid

A Guid object representing a globally unique identifier (GUID) that identifies the category. This value is assigned to the BarManagerCategory.Guid property.

visible Boolean

true to make a category visible at runtime; false to make a category hidden at runtime. This value is assigned to the BarManagerCategory.Visible property.

Remarks

The new category should be added to the BarManager’s BarManager.Categories collection in order to take effect.

See Also