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

Represents a class selector that can be serialized and deserialized. Telerik class selectors are very similar to CSS class selectors.

Definition

Constructors

Initializes a new instance of the XmlClassSelector class.

C#
public XmlClassSelector()

Initializes a new instance of the XmlClassSelector class using an element given as a string.

C#
public XmlClassSelector(string elementClass)
Parameters:elementClassstring

Properties

Gets or sets a string value indicating the class.

C#
public string ElementClass { get; set; }

Methods

C#
protected override IElementSelector CreateInstance()
Returns:

IElementSelector

Overrides: XmlElementSelector.CreateInstance()

Retrieves a boolean value indicating whether this and the argument are equal.

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: object.Equals(object)

Serves as a hash function for the XmlClassSelector type.

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()

Retrieves the string representation of the class.

C#
public override string ToString()
Returns:

string

Overrides: XmlElementSelector.ToString()