New to Telerik UI for WinUI? Download free 30-day trial

Ribbon Button

The RadRibbonButton represents the basic button in the set of the RadRibbonView buttons. It inherits the native Microsoft.UI.Xaml.Controls.Button control and extends its functionality in order to provide a better interaction with the RadRibbonView control.

You can access the RadRibbonButton control through an alias pointing to the Telerik.UI.Xaml.Controls namespace: xmlns:telerik="using:Telerik.UI.Xaml.Controls"

Example 1: Declare RadRibbonButton

    <telerik:RadRibbonTab Header="Home"> 
        <telerik:RadRibbonGroup Header="Home group"  > 
                <ribbonView:GroupVariant Variant="Small"/> 
                <ribbonView:GroupVariant Variant="Medium"/> 
                <ribbonView:GroupVariant Variant="Large"/> 
            <telerik:RadRibbonButton CollapseToSmall="WhenGroupIsSmall" 
                                    Text="Admin" > 
                    <SymbolIcon Symbol="Admin"/> 
                    <SymbolIcon Symbol="Admin"/> 
This button has its initial size set to Large and its text label set to "Admin". As the IsAutoSize property is set to True, the button will change its size depending on the RadRibbonGroup's size.

Figure 1: RadRibbonButton Example

WinUI RadRibbonView RadRibbonButton Example

In this article
Not finding the help you need?