Skip to main content
A newer version of this page is available. .
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.v21.2.dll

NuGet Packages: DevExpress.Win.Design, 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