Class QueryItemSizeEventArgs
Provides data for the QueryItemSize event.
Inheritance
System.Object
QueryItemSizeEventArgs
Namespace: Syncfusion.Maui.ListView
Assembly: Syncfusion.Maui.ListView.dll
Syntax
public class QueryItemSizeEventArgs : EventArgs
Constructors
QueryItemSizeEventArgs()
Initializes a new instance of the QueryItemSizeEventArgs class.
Declaration
public QueryItemSizeEventArgs()
Properties
DataItem
Gets the underlying data of the queried item.
Declaration
public object DataItem { get; }
Property Value
Type |
---|
System.Object |
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.
ItemIndex
Gets the index of the item in the
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 |