Interface IRibbonElement
Provides the SizeMode attribute to ribbon items in addition to the IRibbonItem attributes.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Ribbon
Assembly: Syncfusion.Ribbon.WinUI.dll
Syntax
public interface IRibbonElement : IRibbonItem
Remarks
The ribbon items such as RibbonButton, RibbonDropDownButton, RibbonItemHost, and RibbonGallery controls that implement the IRibbonElement interface can use the underlying of both base and derived class properties.
Properties
ActiveSizeMode
Gets or sets the current SizeMode value of ribbon item which represent the how the image and content of ribbon items get arranged.
Declaration
SizeMode ActiveSizeMode { get; set; }
Property Value
Type | Description |
---|---|
SizeMode | Small mode arrange the ribbon item only with image, Normal mode arrange the ribbon item with image and content in horizontal layout, where in Large mode arrange the ribbon with image and content in vertical layout. The default value is Normal. |
AllowedSizeModes
Gets or sets the size mode options for ribbon element. Using any of these options, the ribbon element gets arranged when resizing the ribbon.
Declaration
RibbonElementSizeModes AllowedSizeModes { get; set; }
Property Value
Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
RibbonElementSizeModes | The default value is Large | Normal | Small. Fields:
|