Class QueryNodeSizeEventArgs
Provides data for the QueryNodeSize event.
Inheritance
System.Object
QueryNodeSizeEventArgs
Namespace: Syncfusion.UI.Xaml.TreeView
Assembly: Syncfusion.SfTreeView.WPF.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 queried item size to a row otherwise get the default item size.
Height
Gets or sets the height of TreeViewNode.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The height of the corresponding Node. |
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
GetAutoFitNodeHeight()
Calculates and returns the measured size of the query item based on content.
Declaration
public double GetAutoFitNodeHeight()
Returns
Type | Description |
---|---|
System.Double | Returns the measured height of the node item based on content. |