RibbonTab
Represents a ribbon tab. Ribbon tabs are used to manage between different groups of related operations, for example, in a text editor application between write and insert functionality.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RibbonTab : RadPageViewStripItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadPageViewElementBaseRadPageViewItemRadPageViewStripItemRibbonTab...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a ribbon tab with the RibbonTab theme class.
public RibbonTab()
Creates a tab whose displayed label is initialized from text.
Fields
Identifies the first color in the left inner shadow gradient painted on the tab.
public static RadProperty LeftShadowInnerColor1Property
Identifies the second color in the left inner shadow gradient painted on the tab.
public static RadProperty LeftShadowInnerColor2Property
Identifies the first color in the left outer shadow gradient painted on the tab.
public static RadProperty LeftShadowOuterColor1Property
Identifies the second color in the left outer shadow gradient painted on the tab.
public static RadProperty LeftShadowOuterColor2Property
Identifies the first color in the right inner shadow gradient painted on the tab.
public static RadProperty RightShadowInnerColor1Property
Identifies the second color in the right inner shadow gradient painted on the tab.
public static RadProperty RightShadowInnerColor2Property
Identifies the first color in the right outer shadow gradient painted on the tab.
public static RadProperty RightShadowOuterColor1Property
Identifies the second color in the right outer shadow gradient painted on the tab.
public static RadProperty RightShadowOuterColor2Property
Properties
Determines whether this tab is available for assignment to a contextual tab group.
protected virtual bool CanBeAddedToContextualGroup { get; }
The default implementation returns true; derived tabs can exclude themselves.
Gets an instance of the ExpandableStackLayoutclass that represents the content layout of the tab. In this layout all chunks visible to the end user are put.
[Browsable(false)]
public ExpandableStackLayout ContentLayout { get; }
Gets the tab's lazily created content panel.
public RadTabStripContentPanel ContentPanel { get; }
The same panel instance is returned on subsequent accesses.
Gets or sets the ContextualTabGroup of this CommandTab.
[Browsable(false)]
public ContextualTabGroup ContextualTabGroup { get; set; }
Gets a value indicating whether this item is currently selected (associated with the SelectedPage of the owning RadPageView). Selection affects visual appearance and content display.
[Browsable(false)]
public override bool IsSelected { get; set; }
Overrides:
Gets the nested items.
[RadNewItem("Add New Group...", true, false, false)]
public virtual RadItemOwnerCollection Items { get; }
Gets or sets the first left inner color of the RibbonTab's shadow.
public Color LeftShadowInnerColor1 { get; set; }
Gets or sets the second left inner color of the RibbonTab's shadow.
public Color LeftShadowInnerColor2 { get; set; }
Gets or sets the first left outer color of the RibbonTab's shadow.
public Color LeftShadowOuterColor1 { get; set; }
Gets or sets the second left outer color of the RibbonTab's shadow.
public Color LeftShadowOuterColor2 { get; set; }
Gets or sets the first right inner color of the RibbonTab's shadow.
public Color RightShadowInnerColor1 { get; set; }
Gets or sets the second right inner color of the RibbonTab's shadow.
public Color RightShadowInnerColor2 { get; set; }
Gets or sets the first right outer color of the RibbonTab's shadow.
public Color RightShadowOuterColor1 { get; set; }
Gets or sets the second right outer color of the RibbonTab's shadow.
public Color RightShadowOuterColor2 { get; set; }
The RibbonTab tab item
public RadPageViewItem Tab { get; set; }
Methods
Detaches the tab's item-collection change handler before disposing managed resources.
protected override void DisposeManagedResources()
Overrides:
Initializes the tab's group collection and its item-change tracking.
protected override void InitializeFields()
Overrides:
Synchronizes tab selection with its owner and invalidates contextual-group layout when tab bounds change.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Overrides:
Selects another visible tab before hiding this tab, or cancels the visibility change when none is available.
protected override void OnPropertyChanging(RadPropertyChangingEventArgs e)
Overrides: