WinUI

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

    Show / Hide Table of Contents

    Class DropDownFlyoutPresenter

    Represents a class that displays the content of a flyout with Accept and cancel button.

    Inheritance
    System.Object
    DropDownFlyoutPresenter
    DateRangeFlyoutPresenter
    Namespace: Syncfusion.UI.Xaml.Editors
    Assembly: Syncfusion.Editors.WinUI.dll
    Syntax
    public class DropDownFlyoutPresenter : FlyoutPresenter

    Constructors

    DropDownFlyoutPresenter()

    Initializes a new instance of the DropDownFlyoutPresenter class.

    Declaration
    public DropDownFlyoutPresenter()

    Fields

    ShowSubmitButtonsProperty

    Identifies ShowSubmitButtons dependency property.

    Declaration
    public static readonly DependencyProperty ShowSubmitButtonsProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    Properties

    ShowSubmitButtons

    Gets or sets a value indicating whether to show or hide the Accept and Decline button in DropDownFlyoutPresenter control.

    Declaration
    public bool ShowSubmitButtons { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true. Accept and Decline button is shown below content.

    Methods

    OnAcceptButtonClicked()

    Called when Accept button is clicked.

    Declaration
    protected virtual void OnAcceptButtonClicked()

    OnApplyTemplate()

    Declaration
    protected override void OnApplyTemplate()

    OnDeclineButtonClicked()

    Called when cancel button is clicked.

    Declaration
    protected virtual void OnDeclineButtonClicked()

    Events

    AcceptButtonClicked

    Occurs when Accept button is clicked.

    Declaration
    public event EventHandler AcceptButtonClicked
    Event Type
    Type Description
    System.EventHandler

    DeclineButtonClicked

    Occurs when Decline button is clicked.

    Declaration
    public event EventHandler DeclineButtonClicked
    Event Type
    Type Description
    System.EventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved