Class RadRibbonTab
Represents the content of a Ribbon tab.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
[TelerikToolboxCategory("Navigation")]
[Themable]
public class RadRibbonTab : HeaderedItemsControl, IThemable, IRadTabItem, ISelectable
Constructors
RadRibbonTab()
Fields
ContextualGroupNameProperty
Identifies the ContextualGroupName property.
Declaration
public static readonly DependencyProperty ContextualGroupNameProperty
Field Value
System.Windows.DependencyProperty
|
HeaderVisibilityProperty
Identifies the HeaderVisibility property.
Declaration
public static readonly DependencyProperty HeaderVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
IsContextualTabVisibleProperty
Identifies the IsContextualTabVisible property.
Declaration
public static readonly DependencyProperty IsContextualTabVisibleProperty
Field Value
System.Windows.DependencyProperty
|
IsSelectedProperty
Identifies the property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
System.Windows.DependencyProperty
|
See Also
MinimizedBackgroundProperty
Identifies the MinimizedBackground property.
Declaration
public static readonly DependencyProperty MinimizedBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ContextualGroupName
Gets or sets the associated Contextual Groups.
Declaration
public string ContextualGroupName { get; set; }
Property Value
System.String
|
HeaderVisibility
Gets or sets a value indicating whether the header of the tab will be visible.
Declaration
public Visibility HeaderVisibility { get; set; }
Property Value
System.Windows.Visibility
|
IsContextualTabVisible
Gets value indicating whether the ContextualTab is visible or not.
Declaration
public Nullable<bool> IsContextualTabVisible { get; }
Property Value
System.Nullable<System.Boolean>
|
IsSelected
Gets or sets a value indicating whether this instance is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
System.Boolean
|
Implements
MinimizedBackground
Gets or sets a brushed used for the Background of RibbonTab when the Ribbon is minimized.
Declaration
public Brush MinimizedBackground { get; set; }
Property Value
System.Windows.Media.Brush
|
TabStripPlacement
Gets the tab strip placement.
Declaration
public Dock TabStripPlacement { get; }
Property Value
Dock
|
Implements
Methods
ArrangeOverride(Size)
Called when the control is arranged.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
|
Returns
System.Windows.Size
|
ChangeVisualState(Boolean)
Updates the visual state of the control.
Declaration
protected override void ChangeVisualState(bool useTransitions)
Parameters
System.Boolean
useTransitions
Indicates whether transitions should be used. |
Overrides
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
Declaration
protected override sealed DependencyObject GetContainerForItemOverride()
Returns
System.Windows.DependencyObject
The element that is used to display the given item. |
IsItemItsOwnContainerOverride(Object)
Determines if the specified item is (or is eligible to be) its own container.
Declaration
protected override sealed bool IsItemItsOwnContainerOverride(object item)
Parameters
System.Object
item
|
Returns
System.Boolean
|
OnApplyTemplate()
Called when the control template is applied.
Declaration
public override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Creates a RadTabItemAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
A new instance of the RadTabItemAutomationPeer. |
OnIsSelectedChanged(Boolean, Boolean)
Called when the IsSelected property has changed.
Declaration
protected virtual void OnIsSelectedChanged(bool oldValue, bool newValue)
Parameters
System.Boolean
oldValue
The old value of the IsSelected property. |
System.Boolean
newValue
The new value of the IsSelected property. |
OnMouseEnter(MouseEventArgs)
Called before the System.Windows.UIElement.MouseEnter event occurs.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The data for the event. |
OnMouseLeave(MouseEventArgs)
Called before the System.Windows.UIElement.MouseLeave event occurs.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The data for the event. |
OnSelected(RadRoutedEventArgs)
Called when the item is selected.
Declaration
public void OnSelected(RadRoutedEventArgs e)
Parameters
RadRoutedEventArgs
e
|
OnUnselected(RadRoutedEventArgs)
Called when the item is unselected.
Declaration
public void OnUnselected(RadRoutedEventArgs e)
Parameters
RadRoutedEventArgs
e
|
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
Element used to display the specified item. |
System.Object
item
Specified item. |
Overrides
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
SetTabOrientation(Orientation)
Sets the tab orientation.
Declaration
public void SetTabOrientation(Orientation orientation)
Parameters
System.Windows.Controls.Orientation
orientation
The orientation. |
Implements
UpdateHeaderPresenterContent()
Updates the content of the header presenter.
Declaration
public void UpdateHeaderPresenterContent()
Implements
UpdateTabStripPlacement(Dock)
Updates the tab strip placement.
Declaration
public void UpdateTabStripPlacement(Dock placement)
Parameters
Dock
placement
The placement. |
Implements
Explicit Interface Implementations
IRadTabItem.Control
Gets an a reference to the control that implements the IRadTabItem interface.
Declaration
Control IRadTabItem.Control { get; }
Returns
System.Windows.Controls.Control
|