New to Telerik UI for WPFStart a free 30-day trial

Represents a tab layout group.

Definition

Constructors

Initializes a new instance of the LayoutControlTabGroup class.

C#
public LayoutControlTabGroup()

Fields

SelectedItemProperty

DependencyProperty

Identifies the property.

C#
public static readonly DependencyProperty SelectedItemProperty

Properties

Gets or sets the item which content will be displayed.

C#
public object SelectedItem { get; set; }

Methods

When overridden in a derived class, undoes the effects of the System.Windows.Controls.ItemsControl.PrepareContainerForItemOverride(System.Windows.DependencyObject,System.Object) method.

C#
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters:elementDependencyObjectitemobject

Overrides: LayoutControlGroupBase.ClearContainerForItemOverride(DependencyObject, object)

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

C#
protected override DependencyObject GetContainerForItemOverride()
Returns:

DependencyObject

Determines if the specified item is (or is eligible to be) its own container.

C#
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters:itemobject

The item to check.

Returns:

bool

True if the item is (or is eligible to be) its own container; otherwise, false.

When overridden in a derived class, is invoked whenever application code or internal processes call. .

C#
public override void OnApplyTemplate()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Invoked when the Items property changes.

C#
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters:eNotifyCollectionChangedEventArgs

Prepares the specified element to display the specified item.

C#
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters:elementDependencyObject

Element used to display the specified item.

itemobject

Specified item.

Overrides: LayoutControlGroupBase.PrepareContainerForItemOverride(DependencyObject, object)

Resets the theme.

C#
public void ResetTheme()