CustomizeTemplatedItemEventArgs Members

Provides data for the BaseListBoxControl.CustomizeItem event.

Constructors

Name Description
CustomizeTemplatedItemEventArgs(BaseListBoxControl, Int32, TemplatedItem) Initializes a new instance of the CustomizeTemplatedItemEventArgs class with the specified settings.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
DataItem Gets the current item's underlying data object. For a bound ListBoxControl, the DataItem property returns the corresponding record in the data source.
Index Gets the current item's visual position. For a bound ListBoxControl, this property's value matches the index of a corresponding record in the data source.
TemplatedItem Gets the template used to render the current item. Customize this template when handling the BaseListBoxControl.CustomizeItem event.
Value Gets the item's value.

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also