Click or drag to resize
RadTabItem Class
Represents a tab item, the default item of the RadTabControl.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              System.Windows.ControlsContentControl
                System.Windows.ControlsHeaderedContentControl
                  Telerik.Windows.ControlsRadTabItem
                    Telerik.Windows.ControlsRadOutlookBarItem
                    Telerik.Windows.ControlsRadPane
                    Telerik.Windows.ControlsRadRibbonBackstageItem

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation (in Telerik.Windows.Controls.Navigation.dll) Version: 2018.1.220.40 (2018.1.220.40)
Syntax
public class RadTabItem : HeaderedContentControl, IRadTabItem

The RadTabItem type exposes the following members.

Constructors
  NameDescription
Public methodRadTabItem
Initializes a new instance of the RadTabItem class.
Top
Methods
  NameDescription
Protected methodChangeVisualState
Updates the visual state of the control.
Protected methodFindTemplateFromPosition
Returns the template that will be used, based on the position of the TabStrip.
Protected methodMeasureOverride
When implemented in a derived class, provides the behavior for the "Measure" pass of Silverlight layout.
(Overrides ControlMeasureOverride(Size).)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate().
(Overrides FrameworkElementOnApplyTemplate.)
Protected methodOnContentChanged
Called when the Content property changes.
(Overrides ContentControlOnContentChanged(Object, Object).)
Protected methodOnGotFocus
Called before the GotFocus event occurs.
(Overrides FrameworkElementOnGotFocus(RoutedEventArgs).)
Protected methodOnHeaderChanged
Called when the Header property of a HeaderedContentControl changes.
(Overrides HeaderedContentControlOnHeaderChanged(Object, Object).)
Protected methodOnHeaderMouseEnter
Protected methodOnHeaderMouseLeave
Protected methodOnHeaderMouseLeftButtonDown
Called when the mouse is pressed over the header of the TabItem.
Protected methodOnHeaderMouseLeftButtonUp
Called when the left mouse button is release over the header of the TabItem.
Protected methodOnInitialized
Called when the control has been initialized.
(Overrides FrameworkElementOnInitialized(EventArgs).)
Protected methodOnIsSelectedChanged
Called when the IsSelected property has changed.
Protected methodOnKeyDown
Called before the KeyDown event occurs.
(Overrides UIElementOnKeyDown(KeyEventArgs).)
Protected methodOnLoaded
Called when the RadTabItem is loaded.
Protected methodOnLostFocus
Called before the LostFocus event occurs.
(Overrides UIElementOnLostFocus(RoutedEventArgs).)
Protected methodOnMouseEnter
Called before the System.Windows.UIElement.MouseEnter event occurs.
(Overrides UIElementOnMouseEnter(MouseEventArgs).)
Protected methodOnMouseLeave
Called before the System.Windows.UIElement.MouseLeave event occurs.
(Overrides UIElementOnMouseLeave(MouseEventArgs).)
Public methodOnSelected
Called when the item is selected.
Public methodOnUnselected
Called when the item is unselected.
Protected methodSetNavigationMode
Sets the navigation mode for RadTabItem.
Protected methodUpdateTemplate
Updates the template of the TabItem depending on its properties.
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberBottomTemplateProperty
Identifies the property.
Public fieldStatic memberDropDownContentProperty
Identifies the DropDownContent property.
Public fieldStatic memberDropDownContentTemplateProperty
Identifies the DropDownContentTemplate property.
Public fieldStatic memberDropDownContentTemplateSelectorProperty
Identifies the DropDownTemplateSelector property.
Public fieldStatic memberHeaderForegroundProperty
Identifies the HeaderForeground property.
Public fieldStatic memberIsBreakProperty
Identifies the dependency property.
Public fieldStatic memberIsDragDisabledProperty
Identifies the IsDragDisabled property.
Public fieldStatic memberIsSelectedProperty
Identifies the property.
Public fieldStatic memberLeftTemplateProperty
Identifies the property.
Public fieldStatic memberRightTemplateProperty
Identifies the property.
Public fieldStatic memberTabOrientationProperty
Identifies the property.
Public fieldStatic memberTabStripPlacementProperty
Identifies the property.
Public fieldStatic memberTopTemplateProperty
Identifies the property.
Top
Properties
  NameDescription
Public propertyBottomTemplate
Gets or sets the template of the TabItem when the TabStripPlacement is set to Bottom. This is a dependency property.
Public propertyDropDownContent
Gets or sets the content that will appear in the DropDown menu when it is shown. This is a dependency property.
Public propertyDropDownContentTemplate
Gets or sets the template for the MenuItem that will present this item in the DropDown menu. This is a dependency property.
Public propertyDropDownContentTemplateSelector
Gets or sets the template selector for the MenuItem that will present this item in the DropDown menu. This is a dependency property.
Public propertyHeaderForeground
Gets or sets the item header foreground.
Public propertyIsBreak
Gets or sets a value indicating whether this instance is break.
Public propertyIsDragDisabled
Gets or sets a value indicating whether this instance can be dragged.
Public propertyIsSelected
Gets or sets whether the TabItem is selected. This is a dependency property.
Public propertyLeftTemplate
Gets or sets the left template.
Public propertyRightTemplate
Gets or sets the right template.
Public propertyTabOrientation
Gets the tab orientation.
Public propertyTabStripPlacement
Gets the tab strip placement.
Public propertyTopTemplate
Gets or sets the top template.
Top
Remarks

The RadTabItem class is the default item of the RadTabControl. The TabItem appears in the TabStrip of the TabControl while the contents of its Content property are shown when the Tab is selected.

When tabs are inserted into the TabControl the last Tab to have its IsSelected property set to true would be selected.

You can change the look of the Control by setting the Theme, Style or Control Template properties. To change the look of all the TabItems in a TabControl, use the ItemContainerStyle and ItemContainerStyleSelector

The RadTabItem is not meant to be used on its own but as item of the RadTabControl. The TabItems will be automatically created if other items are inserted in the RadTabControl.

The properties of the TabItem that affect the TabControl are:IsBreak property governs whether the next TabItems will be in a separate row.IsSelected property selects or deselects the given item (shows and hides its content in the TabControl)Content is the Content that is displayed in the content area of the TabControl when the item is selected.ContentTemplate is the ContentTemplate of the TabControl content area when the item is selected.

Please note that the TabStripPlacement and TabOrientation properties are set by the TabControl and as such are read-only.

See Also