Class QueryNodeSizeEventArgs
Provides data for the QueryNodeSize event.
Inheritance
System.Object
QueryNodeSizeEventArgs
Namespace: Syncfusion.Maui.TreeView
Assembly: Syncfusion.Maui.TreeView.dll
Syntax
public class QueryNodeSizeEventArgs : EventArgs
Constructors
QueryNodeSizeEventArgs()
Initializes a new instance of the QueryNodeSizeEventArgs class.
Declaration
public QueryNodeSizeEventArgs()
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 | Description |
---|---|
System.Boolean | The default value is |
Remarks
If true, set the query item size to a row; else, return the default item size.
Height
Gets or sets the height of the TreeViewNode.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The height of the corresponding TreeViewNode. |
Node
Gets the data object associated with TreeViewItem.
Declaration
public TreeViewNode Node { get; }
Property Value
Type | Description |
---|---|
TreeViewNode | The TreeViewNode associated with the tree view item. |
Methods
GetActualNodeHeight()
Calculates and returns the measured size of the query item based on content.
Declaration
public double GetActualNodeHeight()
Returns
Type | Description |
---|---|
System.Double | Returns the measured height of the node item based on its content. |