Class DropDownFlyoutPresenter
Represents a class that displays the content of a flyout with Accept and cancel button.
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 |
---|
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 |
---|
System.EventHandler |
DeclineButtonClicked
Occurs when Decline button is clicked.
Declaration
public event EventHandler DeclineButtonClicked
Event Type
Type |
---|
System.EventHandler |