New to Telerik UI for WPFStart a free 30-day trial

Represents basic ICategory implementation.

Definition

Constructors

Initializes a new instance of the Category class.

C#
public Category()

Initializes a new instance of the Category class.

C#
public Category(string name, Brush brush)
Parameters:namestring

The name.

brushBrush

The brush.

Properties

Gets or sets the category brush.

C#
public Brush CategoryBrush { get; set; }
Property Value:

The category brush.

Gets or sets the name of the category.

C#
public string CategoryName { get; set; }
Property Value:

The name of the category.

Implements: ICategory.CategoryName

Gets or sets the name of the category.

C#
public string DisplayName { get; set; }
Property Value:

The name of the category.

Implements: ICategory.DisplayName

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

C#
public bool IsChecked { get; set; }
Property Value:

True if this instance is checked; otherwise, false.

Methods

Determines whether the specified object equals this Category.

C#
public bool Equals(ICategory other)
Parameters:otherICategoryReturns:

bool

Implements: IEquatable<ICategory>.Equals(ICategory)

Determines whether the specified object equals this Category.

C#
public override bool Equals(object other)
Parameters:otherobjectReturns:

bool

Overrides: object.Equals(object)

Returns a hash code for the Category instance.

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()