Class RibbonMenuFlyoutItem
/// Represent a menu flyout item which used in overflow buttons.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Ribbon
Assembly: Syncfusion.Ribbon.WinUI.dll
Syntax
public class RibbonMenuFlyoutItem : MenuFlyoutItem, IDisposable
Constructors
RibbonMenuFlyoutItem(Nullable<Boolean>)
Intializes a new instance of the RibbonMenuFlyoutItem class.
Declaration
public RibbonMenuFlyoutItem(Nullable<bool> isDropDownButton)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Boolean> | isDropDownButton | Boolean value |
Fields
ItemTemplateProperty
Using a DependencyProperty as the backing store for ItemTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
RibbonItemHostContentProperty
Using a DependencyProperty as the backing store for RibbonItemHostContent. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty RibbonItemHostContentProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Properties
ItemTemplate
Gets or sets the Microsoft.UI.Xaml.DataTemplate used to display each item.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Type |
---|
Microsoft.UI.Xaml.DataTemplate |
Remarks
A Microsoft.UI.Xaml.DataTemplate that specifies the visualization of the data objects. The default is null.
RibbonItemHostContent
Gets or sets a content of the RibbonItemHost in a RibbonMenuFlyoutItem
Declaration
public object RibbonItemHostContent { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The content of the RibbonItemHost. The default value is null |
Methods
Dispose()
Release the unmanaged resources of RibbonMenuFlyoutItem.
Declaration
public void Dispose()
Dispose(Boolean)
Release the unmanaged resources of RibbonMenuFlyoutItem.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true if unmanaged resources should be disposed; otherwise, false. |
OnApplyTemplate()
Contains the template logic for RibbonMenuFlyoutItem.
Declaration
protected override void OnApplyTemplate()