Back to Devexpress

CustomizeTemplatedItemEventArgs Members

windowsforms-devexpress-dot-xtraeditors-dot-customizetemplateditemeventargs-dot-underscore-members.md

latest4.3 KB
Original Source

CustomizeTemplatedItemEventArgs Members

Contains data for the BaseListBoxControl.CustomizeItem event.

Constructors

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

Fields

NameDescription
Empty staticProvides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

NameDescription
DataItemGets the current item’s underlying data object. For a bound ListBoxControl, the DataItem property returns the corresponding record in the data source.
HtmlElementReturns the HtmlElement (tag) associated with the current event.
IndexGets 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.
TemplatedItemGets the template used to render the current item. Customize this template when handling the BaseListBoxControl.CustomizeItem event.
ValueGets the item’s value.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

CustomizeTemplatedItemEventArgs Class

DevExpress.XtraEditors Namespace