Class
RadTabControl

Represents the Silverlight RadTabControl wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Xaml

Assembly:Telerik.WebAii.Controls.Xaml.dll

Syntax:

cs-api-definition
public class RadTabControl : ItemsControl, IAutomationPeer, IPeerConverter, IRadTabControl, IControl, IFrameworkElement, ITargetElement

Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControlItemsControlRadTabControl

Derived Classes: AutoHideAreaRadOutlookBarRadPaneGroup

Implements: IAutomationPeerIControlIFrameworkElementIPeerConverterIRadTabControlITargetElement

Inherited Members ItemsControl.DisplayMemberPathPropertyItemsControl.GetRealType()ItemsControl.DisplayMemberPathControl.IsTabStopPropertyControl.TabIndexPropertyControl.TabNavigationPropertyControl.PaddingPropertyControl.HorizontalContentAlignmentPropertyControl.VerticalContentAlignmentPropertyControl.BackgroundPropertyControl.BorderBrushPropertyControl.BorderThicknessPropertyControl.FontSizePropertyControl.ForegroundPropertyControl.IsEnabledPropertyControl.FontFamilyPropertyControl.FontStretchPropertyControl.FontStylePropertyControl.FontWeightPropertyControl.IsTabStopControl.TabIndexControl.TabNavigationControl.PaddingControl.HorizontalContentAlignmentControl.VerticalContentAlignmentControl.BackgroundControl.BorderBrushControl.BorderThicknessControl.FontSizeControl.ForegroundControl.IsEnabledControl.FontFamilyControl.FontStretchControl.FontStyleControl.FontWeightSilverlightTestElement.UseLayoutRoundingPropertySilverlightTestElement.UseLayoutRoundingFrameworkElement.ActualWidthPropertyFrameworkElement.ActualHeightPropertyFrameworkElement.WidthPropertyFrameworkElement.HeightPropertyFrameworkElement.MinWidthPropertyFrameworkElement.MaxWidthPropertyFrameworkElement.MinHeightPropertyFrameworkElement.MaxHeightPropertyFrameworkElement.HorizontalAlignmentPropertyFrameworkElement.VerticalAlignmentPropertyFrameworkElement.MarginPropertyFrameworkElement.DesiredSizePropertyFrameworkElement.RenderSizePropertyFrameworkElement.NamePropertyFrameworkElement.TagPropertyFrameworkElement.DataContextPropertyFrameworkElement.OpacityPropertyFrameworkElement.ClipPropertyFrameworkElement.RenderTransformPropertyFrameworkElement.OpacityMaskPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.IsHitTestVisiblePropertyFrameworkElement.VisibilityPropertyFrameworkElement.GetIdentifier(out string, out string)FrameworkElement.IsChild(FrameworkElement)FrameworkElement.GetChildTagIndex(FrameworkElement)FrameworkElement.InitializeMappings(MappingsCollection)FrameworkElement.As<T>()FrameworkElement.CastAs<T>()FrameworkElement.SetProxy(bool)FrameworkElement.SetUid(string)FrameworkElement.SetFindInfo(VisualFindInfo)FrameworkElement.SetXamlTag(string)FrameworkElement.KeyPress(Keys, int, int, int)FrameworkElement.GetRectangle()FrameworkElement.GetRectangle(FrameworkElement)FrameworkElement.GetIntRectangle()FrameworkElement.IsHitTest()FrameworkElement.IsHitTest(bool)FrameworkElement.IsHitTest(FrameworkElement, bool)FrameworkElement.Highlight()FrameworkElement.Highlight(bool)FrameworkElement.Parent()FrameworkElement.Parent<T>()FrameworkElement.Parent(string)FrameworkElement.Parent(string, bool)FrameworkElement.GetNextSibling()FrameworkElement.GetPrevSibling()FrameworkElement.NextSibling(string)FrameworkElement.NextSibling<T>()FrameworkElement.PreviousSibling(string)FrameworkElement.PreviousSibling<T>()FrameworkElement.AnySibling<T>()FrameworkElement.AnySibling(string)FrameworkElement.GetScreenRectangle()FrameworkElement.ScrollToVisible()FrameworkElement.ScrollToVisible(ScrollToVisibleType)FrameworkElement.EnsureClickable()FrameworkElement.ToXml()FrameworkElement.Refresh()FrameworkElement.Equals(object)FrameworkElement.GetHashCode()FrameworkElement.GetProperties()FrameworkElement.GetAttachedProperty<T>(string, string)FrameworkElement.SetAttachedProperty<T>(string, string, T)FrameworkElement.SetFocus()FrameworkElement.ValidateMouseLocationIfNeeded(Point)FrameworkElement.GetStringPresentation()FrameworkElement.ToRealObject()FrameworkElement.FromRealObject(object)FrameworkElement.ValidateType(Type, string)FrameworkElement.GetKnownControlTypes(TechnologyType)FrameworkElement.RegisterElement(Type, string)FrameworkElement.InitKnownWpfControlTypes()FrameworkElement.InitKnownSilverlightControlTypes()FrameworkElement.InitKnownXamlControlTypes(Type)FrameworkElement.GetControlTypeFromInterface(Type)FrameworkElement.Match(IFindExpression)FrameworkElement.SetDepth(int)FrameworkElement.AddChildNode(ITargetElement)FrameworkElement.SetClosingTag(ITargetElement)FrameworkElement.GetChildren()FrameworkElement.GetParent()FrameworkElement.GetHostParent()FrameworkElement.SetParent(ITargetElement)FrameworkElement.GetUniqueHashCode()FrameworkElement.ToString()FrameworkElement.Capture()FrameworkElement.CaptureImage()FrameworkElement.GetProperty<T>(string)FrameworkElement.GetPropertyTypeSafe(string)FrameworkElement.GetAutomationProperty(string)FrameworkElement.SetProperty(string, object)FrameworkElement.ActualWidthFrameworkElement.ActualHeightFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.MinWidthFrameworkElement.MaxWidthFrameworkElement.MinHeightFrameworkElement.MaxHeightFrameworkElement.HorizontalAlignmentFrameworkElement.VerticalAlignmentFrameworkElement.MarginFrameworkElement.DesiredSizeFrameworkElement.RenderSizeFrameworkElement.NameFrameworkElement.OpacityFrameworkElement.ClipFrameworkElement.RenderTransformFrameworkElement.OpacityMaskFrameworkElement.RenderTransformOriginFrameworkElement.IsHitTestVisibleFrameworkElement.VisibilityFrameworkElement.UidFrameworkElement.MappingsFrameworkElement.AutomationIdFrameworkElement.XamlTagBaseFrameworkElement.TextFrameworkElement.TextBlockContentFrameworkElement.TextLiteralContentFrameworkElement.UserFrameworkElement.XamlTagFrameworkElement.WaitFrameworkElement.FindFrameworkElement.ApplicationFrameworkElement.AbsoluteTagIndexFrameworkElement.TagNameIndexFrameworkElement.AbsoluteSiblingTagIndexFrameworkElement.EnableValidateMouseLocationFrameworkElement.ToolTipTextFrameworkElement.ComputedVisibilityFrameworkElement.IsVisibleFrameworkElement.ChildrenFrameworkElement.TechnologyTypeFrameworkElement.DepthFrameworkElement.IsTestRegionFrameworkElement.ParsedElementFrameworkElement.HostAutomationObject<FrameworkElement>.GetProperty(AutomationProperty)AutomationObject<FrameworkElement>.GetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.SetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.InvokeMethod(AutomationMethod, params object[])AutomationObject<FrameworkElement>.InvokeMethod(string, params object[])AutomationObject<FrameworkElement>.Serialize()AutomationObject<FrameworkElement>.Deserialize(string)AutomationObject<FrameworkElement>.ReferenceAutomationObject<FrameworkElement>.PropertyBag

Constructors

RadTabControl()

Initializes a new instance of the RadTabControl class. Empty contructor [Must have].

Declaration

cs-api-definition
public RadTabControl()

Properties

AllTabsEqualHeight

Gets or sets whether all the present tabs have equal height.

Declaration

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

Property Value

bool

Implements IRadTabControl.AllTabsEqualHeight

AllowDragOverTab

Gets or sets a value indicating whether dragging objects over a TabItem will select this TabItem.

Declaration

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

Property Value

bool

Implements IRadTabControl.AllowDragOverTab

AllowDragReorder

Gets or sets a value indicating whether the user will be able to rearrange the tabs with dragging.

Declaration

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

Property Value

bool

Implements IRadTabControl.AllowDragReorder

BackgroundVisibility

Gets or sets the visibility of the Background of the TabControl.

Declaration

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

Property Value

Visibility

Implements IRadTabControl.BackgroundVisibility

ContentPresenterElement

Get the TabControl ContentPresenter element.

Declaration

cs-api-definition
public ContentPresenter ContentPresenterElement { get; }

Property Value

ContentPresenter

DropDownButtonElement

Get the toggle button showing the remaining tab items on click.

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use DropDownButtonFrameworkElement instead.")]
public ToggleButton DropDownButtonElement { get; }

Property Value

ToggleButton

DropDownButtonFrameworkElement

Get the toggle button showing the remaining tab items on click.

Declaration

cs-api-definition
public FrameworkElement DropDownButtonFrameworkElement { get; }

Property Value

FrameworkElement

Implements IRadTabControl.DropDownButtonFrameworkElement

LeftScrollButton

Get the repeat button which on click scrolls the tab items on left.

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use LeftScrollButtonElement instead.")]
public RepeatButton LeftScrollButton { get; }

Property Value

RepeatButton

LeftScrollButtonElement

Get the repeat button which on click scrolls the tab items on left.

Declaration

cs-api-definition
public FrameworkElement LeftScrollButtonElement { get; }

Property Value

FrameworkElement

Implements IRadTabControl.LeftScrollButtonElement

ReorderTabRows

Gets or sets whether the TabItem rows would be reordered when selected.

Declaration

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

Property Value

bool

Implements IRadTabControl.ReorderTabRows

RightScrollButton

Get the repeat button which on click scrolls the tab items on right.

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use RightScrollButtonElement instead.")]
public RepeatButton RightScrollButton { get; }

Property Value

RepeatButton

RightScrollButtonElement

Get the repeat button which on click scrolls the tab items on right.

Declaration

cs-api-definition
public FrameworkElement RightScrollButtonElement { get; }

Property Value

FrameworkElement

Implements IRadTabControl.RightScrollButtonElement

SelectedIndex

Gets or sets the index of the selected item. The default value is -1 which means that no item is selected.

Declaration

cs-api-definition
public int SelectedIndex { get; set; }

Property Value

int

Implements IRadTabControl.SelectedIndex

TabItemElements

Gets the list of the RadTabItem elements.

Declaration

cs-api-definition
public IList<IRadTabItem> TabItemElements { get; }

Property Value

IList<IRadTabItem>

Implements IRadTabControl.TabItemElements

TabItems

Gets the list of the RadTabItem elements.

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use TabItemElements instead.")]
public IList<RadTabItem> TabItems { get; }

Property Value

IList<RadTabItem>

TabOrientation

Gets or sets the orientation of the TabItems in the TabControl.

Declaration

cs-api-definition
public Orientation TabOrientation { get; set; }

Property Value

Orientation

Implements IRadTabControl.TabOrientation

TabPosition

Get the TabControl position determined by element rectangles Top, Bottom, Left and Right comparison.

Declaration

cs-api-definition
public Position TabPosition { get; }

Property Value

Position

Implements IRadTabControl.TabPosition

TabWrapPanel

Get the tab strip panel holding the tab items.

Declaration

cs-api-definition
protected FrameworkElement TabWrapPanel { get; }

Property Value

FrameworkElement

Methods

AssignReference(AutomationReference)

Assign the reference and perform your custom class initialization.

Declaration

cs-api-definition
public override void AssignReference(AutomationReference reference)

Parameters

reference

AutomationReference

Overrides FrameworkElement.AssignReference(AutomationReference)

Implements IFrameworkElement.AssignReference(AutomationReference)

ScrollLeft()

Simulates user clicking on the left scrolling repeat button.

Declaration

cs-api-definition
public void ScrollLeft()

Implements IRadTabControl.ScrollLeft()

ScrollRight()

Simulates user clicking on the right scrolling repeat button.

Declaration

cs-api-definition
public void ScrollRight()

Implements IRadTabControl.ScrollRight()

ToggleDropDown()

Simulates user clicking on the toggle button which on click shows the remaining tab items.

Declaration

cs-api-definition
public void ToggleDropDown()

Implements IRadTabControl.ToggleDropDown()