ClassRadRibbonTab
Represents the content of a Ribbon tab.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadRibbonTab : HeaderedItemsControl, IRadTabItem
Inheritance: objectRadItemsControlHeaderedItemsControlRadRibbonTab
Implements:
Inherited Members
Constructors
RadRibbonTab()
Initializes a new instance of the RadRibbonTab class.
Declaration
public RadRibbonTab()
Fields
ContextualGroupNameProperty
Identifies the ContextualGroupName property.
Declaration
public static readonly DependencyProperty ContextualGroupNameProperty
Field Value
DependencyProperty
HeaderVisibilityProperty
Identifies the HeaderVisibility property.
Declaration
public static readonly DependencyProperty HeaderVisibilityProperty
Field Value
DependencyProperty
IsContextualTabVisibleProperty
Identifies the IsContextualTabVisible property.
Declaration
public static readonly DependencyProperty IsContextualTabVisibleProperty
Field Value
DependencyProperty
IsSelectedProperty
Identifies the property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
DependencyProperty
MinimizedBackgroundProperty
Identifies the MinimizedBackground property.
Declaration
public static readonly DependencyProperty MinimizedBackgroundProperty
Field Value
DependencyProperty
Properties
ContextualGroupName
Gets or sets the associated Contextual Groups.
HeaderVisibility
Gets or sets a value indicating whether the header of the tab will be visible.
Declaration
public Visibility HeaderVisibility { get; set; }
Property Value
Visibility
IsContextualTabVisible
Gets value indicating whether the ContextualTab is visible or not.
IsSelected
Gets or sets a value indicating whether this instance is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
True if this instance is selected; otherwise, false.
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
Brush
SimplifiedItems
Gets or sets the collection used to display items in RibbonView's Simplified state.
Declaration
public ObservableCollection<RadRibbonGroup> SimplifiedItems { get; }
Property Value
SimplifiedResources
Gets or sets the resource dictionary used in RibbonView's Simplified state.
Declaration
public ResourceDictionary SimplifiedResources { get; }
Property Value
ResourceDictionary
TabStripPlacement
Gets the tab strip placement.
Methods
ArrangeOverride(Size)
Called when the control is arranged.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
finalSize
Size
Returns
Size
ChangeVisualState(bool)
Updates the visual state of the control.
Declaration
protected void ChangeVisualState(bool useTransitions)
Parameters
useTransitions
Indicates whether transitions should be used.
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
Declaration
protected override sealed DependencyObject GetContainerForItemOverride()
Returns
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.
OnApplyTemplate()
Called when the control template is applied.
Declaration
protected override void OnApplyTemplate()
OnGotFocus(RoutedEventArgs)
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
OnIsSelectedChanged(bool, bool)
Called when the IsSelected property has changed.
OnLostFocus(RoutedEventArgs)
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
OnPointerEntered(PointerRoutedEventArgs)
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
OnPointerExited(PointerRoutedEventArgs)
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
OnSelected(RadRoutedEventArgs)
Called when the item is selected.
Declaration
public void OnSelected(RadRoutedEventArgs e)
Parameters
e
OnUnselected(RadRoutedEventArgs)
Called when the item is unselected.
Declaration
public void OnUnselected(RadRoutedEventArgs e)
Parameters
e
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
Element used to display the specified item.
item
Specified item.
Overrides
SetTabOrientation(Orientation)
Sets the tab orientation.
Declaration
public void SetTabOrientation(Orientation orientation)
Parameters
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
placement
The placement.
Implements