Class
RadTokenizedTextItem

Represents a logical data item that contains the tokenzied text and its value

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadTokenizedTextItem : IComparable<RadTokenizedTextItem>, INotifyPropertyChanged

Inheritance: objectRadTokenizedTextItem

Implements: IComparable<RadTokenizedTextItem>INotifyPropertyChanged

Constructors

RadTokenizedTextItem(string, object)

Initializes a new instance of the RadTokenizedTextItem class.

Declaration

cs-api-definition
public RadTokenizedTextItem(string text, object value)

Parameters

text

string

The text.

value

object

The value.

Properties

Text

Gets the text.

Declaration

cs-api-definition
public string Text { get; protected set; }

Property Value

string

Value

Gets the value.

Declaration

cs-api-definition
public object Value { get; protected set; }

Property Value

object

Methods

CompareTo(RadTokenizedTextItem)

Compares the current object with another object of the same type.

Declaration

cs-api-definition
public virtual int CompareTo(RadTokenizedTextItem other)

Parameters

other

RadTokenizedTextItem

An object to compare with this object.

Returns

int

A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the other parameter.Zero This object is equal to other. Greater than zero This object is greater than other.

Implements IComparable<RadTokenizedTextItem>.CompareTo(RadTokenizedTextItem)

OnPropertyChanged(PropertyChangedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected void OnPropertyChanged(PropertyChangedEventArgs e)

Parameters

e

PropertyChangedEventArgs

The PropertyChangedEventArgs instance containing the event data.

OnPropertyChanged(string)

Raises the event.

Declaration

cs-api-definition
protected void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

Name of the property.

ToString()

Returns a string that represents this instance.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents this instance.

Overrides object.ToString()

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged