WinUI

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IRibbonElement - WinUI API Reference | Syncfusion SizeMode attribute to ribbon items in addition to the IRibbonItem attributes. ">

    Show / Hide Table of Contents

    Interface IRibbonElement

    Provides the SizeMode attribute to ribbon items in addition to the IRibbonItem attributes.

    Inherited Members
    IRibbonItem.Icon
    IRibbonItem.DisplayOptions
    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:

    EnumerationDescription
    SmallDisplays only the Image.
    NormalDisplays image along with the content in Horizontal arrangement.
    LargeDisplays image along with the content in Vertical arrangement.
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved