menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RibbonContextualTabGroup - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RibbonContextualTabGroup

    Represents a SfRibbon tab group that dynamically displays controls that are only relevant in a specific context.

    Inheritance
    System.Object
    RibbonContextualTabGroup
    Namespace: Syncfusion.UI.Xaml.Ribbon
    Assembly: Syncfusion.Ribbon.WinUI.dll
    Syntax
    public class RibbonContextualTabGroup : Control
    Remarks

    A contextual tab is used to display groups of commands that are only relevant in a specific context. Contextual tab groups are shown or hidden based on the criteria you specify.

    Constructors

    RibbonContextualTabGroup()

    Initialize the new instance of RibbonContextualTabGroup.

    Declaration
    public RibbonContextualTabGroup()

    Fields

    SelectFirstTabOnVisibleProperty

    Identifies the SelectFirstTabOnVisible dependency property.

    Declaration
    public static readonly DependencyProperty SelectFirstTabOnVisibleProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    TabsProperty

    Identifies the Tabs dependency property.

    Declaration
    public static readonly DependencyProperty TabsProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    Properties

    SelectFirstTabOnVisible

    Gets or sets a value indicating whether the first tab in the contextual tab group is selected when the contextual tab group gets visible.

    Declaration
    public bool SelectFirstTabOnVisible { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true.

    Remarks

    If SelectFirstTabOnVisible is true, then the first tab of the contextual tab group gets selected when the contextual tab group gets visible. If SelectFirstTabOnVisible is false, then the contextual tab doesn't get selected when the contextual tab group gets visible.

    Tabs

    Gets the collection that was used to generate the RibbonTab's within the RibbonContextualTabGroup control.

    Declaration
    public IList<RibbonTab> Tabs { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<RibbonTab>

    The default value is null.

    Remarks

    RibbonTab can be selected using SelectedTab property.

    See Also
    SelectedIndex
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved