Interface IRibbonItem
Provides the functionality to offer the common attributes to the ribbon items.
Namespace: Syncfusion.UI.Xaml.Ribbon
Assembly: Syncfusion.Ribbon.WinUI.dll
Syntax
public interface IRibbonItem
Remarks
When a ribbon items such as RibbonButton, RibbonDropDownButton, RibbonItemHost, and RibbonGallery controls or other interface classes implements the IRibbonItem interface, the underlying properties can be used directly.
Properties
DisplayOptions
Gets or sets the way that the ribbon items are displayed in different LayoutModeOptions.
Declaration
DisplayOptions DisplayOptions { get; set; }
Property Value
Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
DisplayOptions | The default value is Normal | Simplified. Fields:
|
Icon
Gets or sets an icon that appears in a IRibbonItem
Declaration
IconElement Icon { get; set; }
Property Value
Type |
---|
Microsoft.UI.Xaml.Controls.IconElement |
ScreenTip
Gets or sets the ScreenTip that is used to show a pop-up window when the pointer hovers over a ribbon item to provide details about its functionality.
Declaration
ScreenTip ScreenTip { get; set; }
Property Value
Type | Description |
---|---|
ScreenTip | The default is null. |
Methods
Clone()
This method helps to clone the IRibbonItem instance.
Declaration
FrameworkElement Clone()
Returns
Type |
---|
Microsoft.UI.Xaml.FrameworkElement |