Class DrawCheckBoxEventArgs
Provides data about the DrawCheckBox event.
Inheritance
System.Object
System.EventArgs
DrawCheckBoxEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.WinForms.ListView.Events
Assembly: Syncfusion.SfListView.WinForms.dll
Syntax
public class DrawCheckBoxEventArgs : EventArgs
Constructors
DrawCheckBoxEventArgs(Int32, CheckBoxStyleInfoBase, ItemType, String, Object, Boolean)
Initializes a new instance of the DrawCheckBoxEventArgs class.
Declaration
public DrawCheckBoxEventArgs(int itemIndex, CheckBoxStyleInfoBase style, ItemType itemType, string text, object value, bool handled)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | itemIndex | The underlying record itemIndex of the item. |
| CheckBoxStyleInfoBase | style | The style for the check box in the listview. |
| ItemType | itemType | The item type of an item. |
| System.String | text | The text of an item. |
| System.Object | value | The value of an item. |
| System.Boolean | handled | The item checkbox can be handled or not |
Properties
Handled
Gets or sets a value indicating whether the checkbox of an cell is handled or not.
Declaration
public bool Handled { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
ItemIndex
Gets the row index of the check box.
Declaration
public int ItemIndex { get; }
Property Value
| Type |
|---|
| System.Int32 |
ItemType
Gets the underlying item of the check box.
Declaration
public ItemType ItemType { get; }
Property Value
| Type |
|---|
| ItemType |
Style
Gets or sets the style for the check box of the item.
Declaration
public CheckBoxStyleInfoBase Style { get; set; }
Property Value
| Type |
|---|
| CheckBoxStyleInfoBase |
Text
Gets the underlying item of the check box.
Declaration
public string Text { get; }
Property Value
| Type |
|---|
| System.String |
Value
Gets the underlying item of the check box.
Declaration
public object Value { get; }
Property Value
| Type |
|---|
| System.Object |