Class 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.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RibbonTab : RadPageViewStripItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RibbonTab()
Initializes a new instance of the RadRibbonBarCommandTab class.
Declaration
public RibbonTab()
RibbonTab(String)
Declaration
public RibbonTab(string text)
Parameters
|
System.String
text
|
Fields
LeftShadowInnerColor1Property
LeftShadowInnerColor2Property
LeftShadowOuterColor1Property
LeftShadowOuterColor2Property
RightShadowInnerColor1Property
RightShadowInnerColor2Property
RightShadowOuterColor1Property
RightShadowOuterColor2Property
Properties
CanBeAddedToContextualGroup
Declaration
protected virtual bool CanBeAddedToContextualGroup { get; }
Property Value
|
System.Boolean
|
ContentLayout
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.
Declaration
public ExpandableStackLayout ContentLayout { get; }
Property Value
|
ExpandableStackLayout
|
ContentPanel
Declaration
public RadTabStripContentPanel ContentPanel { get; }
Property Value
|
RadTabStripContentPanel
|
ContextualTabGroup
Gets or sets the ContextualTabGroup of this CommandTab.
Declaration
public ContextualTabGroup ContextualTabGroup { get; set; }
Property Value
|
ContextualTabGroup
|
IsSelected
Declaration
public override bool IsSelected { get; set; }
Property Value
|
System.Boolean
|
Overrides
Items
Gets the nested items.
Declaration
[RadNewItem("Add New Group...", true, false, false)]
public virtual RadItemOwnerCollection Items { get; }
Property Value
|
RadItemOwnerCollection
|
LeftShadowInnerColor1
Gets or sets the first left inner color of the RibbonTab's shadow.
Declaration
public Color LeftShadowInnerColor1 { get; set; }
Property Value
|
System.Drawing.Color
|
LeftShadowInnerColor2
Gets or sets the second left inner color of the RibbonTab's shadow.
Declaration
public Color LeftShadowInnerColor2 { get; set; }
Property Value
|
System.Drawing.Color
|
LeftShadowOuterColor1
Gets or sets the first left outer color of the RibbonTab's shadow.
Declaration
public Color LeftShadowOuterColor1 { get; set; }
Property Value
|
System.Drawing.Color
|
LeftShadowOuterColor2
Gets or sets the second left outer color of the RibbonTab's shadow.
Declaration
public Color LeftShadowOuterColor2 { get; set; }
Property Value
|
System.Drawing.Color
|
RightShadowInnerColor1
Gets or sets the first right inner color of the RibbonTab's shadow.
Declaration
public Color RightShadowInnerColor1 { get; set; }
Property Value
|
System.Drawing.Color
|
RightShadowInnerColor2
Gets or sets the second right inner color of the RibbonTab's shadow.
Declaration
public Color RightShadowInnerColor2 { get; set; }
Property Value
|
System.Drawing.Color
|
RightShadowOuterColor1
Gets or sets the first right outer color of the RibbonTab's shadow.
Declaration
public Color RightShadowOuterColor1 { get; set; }
Property Value
|
System.Drawing.Color
|
RightShadowOuterColor2
Gets or sets the second right outer color of the RibbonTab's shadow.
Declaration
public Color RightShadowOuterColor2 { get; set; }
Property Value
|
System.Drawing.Color
|
Tab
The RibbonTab tab item
Declaration
public RadPageViewItem Tab { get; set; }
Property Value
|
RadPageViewItem
|
Methods
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
InitializeFields()
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
|
RadPropertyChangedEventArgs
e
|
Overrides
OnPropertyChanging(RadPropertyChangingEventArgs)
Declaration
protected override void OnPropertyChanging(RadPropertyChangingEventArgs e)
Parameters
|
RadPropertyChangingEventArgs
e
|
Overrides
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
|
IGraphics
graphics
|
|
System.Single
angle
|
|
System.Drawing.SizeF
scale
|