menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class QueryNodeSizeEventArgs - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class QueryNodeSizeEventArgs

    Provides data for the QueryNodeSize event.

    Inheritance
    System.Object
    System.EventArgs
    QueryNodeSizeEventArgs
    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.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 false.

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved