Class
Category

Represents basic ICategory implementation.

Definition

Constructors

Category()

Initializes a new instance of the Category class.

Declaration

cs-api-definition
public Category()

Category(string, Brush)

Initializes a new instance of the Category class.

Declaration

cs-api-definition
public Category(string name, Brush brush)

Parameters

name

string

The name.

brush

Brush

The brush.

Properties

CategoryBrush

Gets or sets the category brush.

Declaration

cs-api-definition
public Brush CategoryBrush { get; set; }

Property Value

Brush

The category brush.

CategoryName

Gets or sets the name of the category.

Declaration

cs-api-definition
public string CategoryName { get; set; }

Property Value

string

The name of the category.

Implements ICategory.CategoryName

DisplayName

Gets or sets the name of the category.

Declaration

cs-api-definition
public string DisplayName { get; set; }

Property Value

string

The name of the category.

Implements ICategory.DisplayName

IsChecked

Gets or sets a value indicating whether this instance is checked.

Declaration

cs-api-definition
public bool IsChecked { get; set; }

Property Value

bool

True if this instance is checked; otherwise, false.

Methods

Equals(ICategory)

Determines whether the specified object equals this Category.

Declaration

cs-api-definition
public bool Equals(ICategory other)

Parameters

other

ICategory

Returns

bool

Implements IEquatable<ICategory>.Equals(ICategory)

Equals(object)

Determines whether the specified object equals this Category.

Declaration

cs-api-definition
public override bool Equals(object other)

Parameters

other

object

Returns

bool

Overrides object.Equals(object)

GetHashCode()

Returns a hash code for the Category instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides object.GetHashCode()