Skip to main content
Bar

BarManagerCategory(String, Guid) Constructor

Initializes a new instance of the BarManagerCategory class with the specified name and global unique identifier (GUID).

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public BarManagerCategory(
    string name,
    Guid guid
)

Parameters

Name Type Description
name String

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

guid Guid

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

Remarks

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

See Also