Class
RadRibbonTab

Represents the content of a Ribbon tab.

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadRibbonTab : HeaderedItemsControl, IRadTabItem

Inheritance: objectRadItemsControlHeaderedItemsControlRadRibbonTab

Implements: IRadTabItem

Inherited Members HeaderedItemsControl.HasHeaderPropertyHeaderedItemsControl.HeaderPropertyHeaderedItemsControl.FocusVisualStylePropertyHeaderedItemsControl.HeaderTemplatePropertyHeaderedItemsControl.HeaderTemplateSelectorPropertyHeaderedItemsControl.OnHeaderChanged(object, object)HeaderedItemsControl.OnHeaderTemplateChanged(DataTemplate, DataTemplate)HeaderedItemsControl.OnHeaderTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector)HeaderedItemsControl.HeaderHeaderedItemsControl.HeaderTemplateHeaderedItemsControl.FocusVisualStyleHeaderedItemsControl.HeaderTemplateSelector

Constructors

RadRibbonTab()

Initializes a new instance of the RadRibbonTab class.

Declaration

cs-api-definition
public RadRibbonTab()

Fields

ContextualGroupNameProperty

Identifies the ContextualGroupName property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContextualGroupNameProperty

Field Value

DependencyProperty

HeaderVisibilityProperty

Identifies the HeaderVisibility property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderVisibilityProperty

Field Value

DependencyProperty

IsContextualTabVisibleProperty

Identifies the IsContextualTabVisible property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsContextualTabVisibleProperty

Field Value

DependencyProperty

IsSelectedProperty

Identifies the property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsSelectedProperty

Field Value

DependencyProperty

MinimizedBackgroundProperty

Identifies the MinimizedBackground property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimizedBackgroundProperty

Field Value

DependencyProperty

Properties

ContextualGroupName

Gets or sets the associated Contextual Groups.

Declaration

cs-api-definition
public string ContextualGroupName { get; set; }

Property Value

string

HeaderVisibility

Gets or sets a value indicating whether the header of the tab will be visible.

Declaration

cs-api-definition
public Visibility HeaderVisibility { get; set; }

Property Value

Visibility

IsContextualTabVisible

Gets value indicating whether the ContextualTab is visible or not.

Declaration

cs-api-definition
public bool? IsContextualTabVisible { get; }

Property Value

bool?

IsSelected

Gets or sets a value indicating whether this instance is selected.

Declaration

cs-api-definition
public bool IsSelected { get; set; }

Property Value

bool

True if this instance is selected; otherwise, false.

Implements IRadTabItem.IsSelected

MinimizedBackground

Gets or sets a brushed used for the Background of RibbonTab when the Ribbon is minimized.

Declaration

cs-api-definition
public Brush MinimizedBackground { get; set; }

Property Value

Brush

SimplifiedItems

Gets or sets the collection used to display items in RibbonView's Simplified state.

Declaration

cs-api-definition
public ObservableCollection<RadRibbonGroup> SimplifiedItems { get; }

Property Value

ObservableCollection<RadRibbonGroup>

SimplifiedResources

Gets or sets the resource dictionary used in RibbonView's Simplified state.

Declaration

cs-api-definition
public ResourceDictionary SimplifiedResources { get; }

Property Value

ResourceDictionary

TabStripPlacement

Gets the tab strip placement.

Declaration

cs-api-definition
public Dock TabStripPlacement { get; }

Property Value

Dock

Implements IRadTabItem.TabStripPlacement

Methods

ArrangeOverride(Size)

Called when the control is arranged.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

Returns

Size

ChangeVisualState(bool)

Updates the visual state of the control.

Declaration

cs-api-definition
protected void ChangeVisualState(bool useTransitions)

Parameters

useTransitions

bool

Indicates whether transitions should be used.

GetContainerForItemOverride()

Creates or identifies the element that is used to display the given item.

Declaration

cs-api-definition
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.

Declaration

cs-api-definition
protected override sealed bool IsItemItsOwnContainerOverride(object item)

Parameters

item

object

Returns

bool

OnApplyTemplate()

Called when the control template is applied.

Declaration

cs-api-definition
protected override void OnApplyTemplate()

OnGotFocus(RoutedEventArgs)

Declaration

cs-api-definition
protected override void OnGotFocus(RoutedEventArgs e)

Parameters

e

RoutedEventArgs

OnIsSelectedChanged(bool, bool)

Called when the IsSelected property has changed.

Declaration

cs-api-definition
protected virtual void OnIsSelectedChanged(bool oldValue, bool newValue)

Parameters

oldValue

bool

The old value of the IsSelected property.

newValue

bool

The new value of the IsSelected property.

OnLostFocus(RoutedEventArgs)

Declaration

cs-api-definition
protected override void OnLostFocus(RoutedEventArgs e)

Parameters

e

RoutedEventArgs

OnPointerEntered(PointerRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnPointerEntered(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

OnPointerExited(PointerRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnPointerExited(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

OnSelected(RadRoutedEventArgs)

Called when the item is selected.

Declaration

cs-api-definition
public void OnSelected(RadRoutedEventArgs e)

Parameters

e

RadRoutedEventArgs

OnUnselected(RadRoutedEventArgs)

Called when the item is unselected.

Declaration

cs-api-definition
public void OnUnselected(RadRoutedEventArgs e)

Parameters

e

RadRoutedEventArgs

PrepareContainerForItemOverride(DependencyObject, object)

Prepares the specified element to display the specified item.

Declaration

cs-api-definition
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

Element used to display the specified item.

item

object

Specified item.

Overrides RadItemsControl.PrepareContainerForItemOverride(DependencyObject, object)

SetTabOrientation(Orientation)

Sets the tab orientation.

Declaration

cs-api-definition
public void SetTabOrientation(Orientation orientation)

Parameters

orientation

Orientation

The orientation.

Implements IRadTabItem.SetTabOrientation(Orientation)

UpdateHeaderPresenterContent()

Updates the content of the header presenter.

Declaration

cs-api-definition
public void UpdateHeaderPresenterContent()

Implements IRadTabItem.UpdateHeaderPresenterContent()

UpdateTabStripPlacement(Dock)

Updates the tab strip placement.

Declaration

cs-api-definition
public void UpdateTabStripPlacement(Dock placement)

Parameters

placement

Dock

The placement.

Implements IRadTabItem.UpdateTabStripPlacement(Dock)