Class QueryItemSizeEventArgs
Provides data for the QueryItemSize event.
Inheritance
System.Object
QueryItemSizeEventArgs
Namespace: Syncfusion.ListView.XForms
Assembly: Syncfusion.SfListView.XForms.dll
Syntax
public class QueryItemSizeEventArgs : EventArgs
Constructors
QueryItemSizeEventArgs()
Initializes a new instance of the QueryItemSizeEventArgs class.
Declaration
public QueryItemSizeEventArgs()
Properties
Handled
Gets or sets a value indicating whether the event should be handled or not.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
If true, set the queried item size to a row otherwise get the default item size.
ItemData
Gets the underlying data of the queried item.
Declaration
public object ItemData { get; }
Property Value
Type |
---|
System.Object |
ItemIndex
Gets the index of the item in the DisplayItems collection.
Declaration
public int ItemIndex { get; }
Property Value
Type |
---|
System.Int32 |
ItemSize
Gets or sets the size of an item. For vertical orientation, it will be considered as item height. For horizontal orientation, it will be considered as item width.
Declaration
public double ItemSize { get; set; }
Property Value
Type |
---|
System.Double |
Remarks
For GridLayout, size of the largest item in a row will be set to all other items in that row.
ItemType
Gets the item type of the queried item.
Declaration
public ItemType ItemType { get; }
Property Value
Type |
---|
ItemType |