WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridContextFlyoutEventArgs

    Show / Hide Table of Contents

    Class TreeGridContextFlyoutEventArgs

    Provides data for TreeGridContextFlyoutOpening event.

    Inheritance
    System.Object
    GridEventArgs
    GridHandledEventArgs
    TreeGridContextFlyoutEventArgs
    Inherited Members
    GridHandledEventArgs.Handled
    GridEventArgs.OriginalSender
    Namespace: Syncfusion.UI.Xaml.TreeGrid
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public class TreeGridContextFlyoutEventArgs : GridHandledEventArgs

    Constructors

    TreeGridContextFlyoutEventArgs(MenuFlyout, Object, RowColumnIndex, ContextFlyoutType, Object)

    Initializes a new instance of TreeGridContextFlyoutEventArgs class.

    Declaration
    public TreeGridContextFlyoutEventArgs(MenuFlyout contextFlyout, object contextFlyoutInfo, RowColumnIndex rowColumnIndex, ContextFlyoutType contextFlyoutType, object originalSource = null)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Controls.MenuFlyout contextFlyout

    Contains the context flyout for the SfTreeGrid.

    System.Object contextFlyoutInfo

    Contains the information about the context flyout.

    RowColumnIndex rowColumnIndex

    The corresponding index where the shortcut menu is opened.

    ContextFlyoutType contextFlyoutType

    The corresponding type of the context flyout.

    System.Object originalSource

    The source of the event.

    Properties

    ContextFlyout

    Gets or sets the shortcut menu associated with SfTreeGrid.

    Declaration
    public MenuFlyout ContextFlyout { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.Controls.MenuFlyout

    A Microsoft.UI.Xaml.Controls.MenuFlyout that represents the shortcut menu associated with SfTreeGrid.

    ContextFlyoutInfo

    Gets or sets an object that contains an information about the context flyout.

    Declaration
    public object ContextFlyoutInfo { get; set; }
    Property Value
    Type Description
    System.Object

    An object that contains an information about the context flyout.

    ContextFlyoutType

    Gets or sets the type of context flyout.

    Declaration
    public ContextFlyoutType ContextFlyoutType { get; set; }
    Property Value
    Type Description
    ContextFlyoutType

    One of the ContextFlyoutType enumeration that specifies the type of context flyout.

    RowColumnIndex

    Gets or sets the RowColumnIndex where the context flyout is opened.

    Declaration
    public RowColumnIndex RowColumnIndex { get; set; }
    Property Value
    Type Description
    RowColumnIndex

    The corresponding RowColumnIndex of the context flyout.

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