Class RadTabbedFormControlTabsElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTabbedFormControlTabsElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadTabbedFormControlTabsElement()
Declaration
public RadTabbedFormControlTabsElement()
Fields
MinimumTabWidthProperty
PinnedItemsPositionProperty
ShowNewTabButtonProperty
ShowTabCloseButtonProperty
ShowTabPinButtonProperty
TabHeightProperty
TabSpacingProperty
TabWidthProperty
Properties
MinimumTabWidth
Gets or sets the minimum width of the tab.
Declaration
public int MinimumTabWidth { get; set; }
Property Value
System.Int32
|
NewItem
Gets the RadTabbedFormControlItem which stands for adding new tabs on click.
Declaration
public LightVisualButtonElement NewItem { get; }
Property Value
LightVisualButtonElement
|
NextItemsButton
Gets the button element navigating the layout to show tabs to right of the currenlty visible tabs.
Declaration
public LightVisualButtonElement NextItemsButton { get; }
Property Value
LightVisualButtonElement
|
PinnedItems
Gets an observable collection holding the pinned items.
Declaration
public ObservableCollection<RadTabbedFormControlItem> PinnedItems { get; }
Property Value
ObservableCollection<RadTabbedFormControlItem>
|
PinnedItemsPosition
Gets or sets whether the pinned items will be displayed at the front or at the back of the title bar.
Declaration
public PinnedItemsPosition PinnedItemsPosition { get; set; }
Property Value
PinnedItemsPosition
|
PreviousItemsButton
Gets the button element navigating the layout to show tabs to left of the currenlty visible tabs
Declaration
public LightVisualButtonElement PreviousItemsButton { get; }
Property Value
LightVisualButtonElement
|
ShowNewTabButton
Gets or sets whether the new tab button will be visible.
Declaration
public bool ShowNewTabButton { get; set; }
Property Value
System.Boolean
|
ShowTabCloseButton
Gets or sets whether close button will be displayed in the tab.
Declaration
public bool ShowTabCloseButton { get; set; }
Property Value
System.Boolean
|
ShowTabPinButton
Gets or sets whether pin button will be displayed in the tab.
Declaration
public bool ShowTabPinButton { get; set; }
Property Value
System.Boolean
|
TabHeight
Gets or sets the default height of the tab.
Declaration
public int TabHeight { get; set; }
Property Value
System.Int32
|
TabSpacing
Gets or sets the spacing between the tabs.
Declaration
public int TabSpacing { get; set; }
Property Value
System.Int32
|
TabWidth
Gets or sets the default width of the tab.
Declaration
public int TabWidth { get; set; }
Property Value
System.Int32
|
VisibleItems
Gets an read only collection holding the visible items.
Declaration
public ReadOnlyCollection<RadTabbedFormControlItem> VisibleItems { get; }
Property Value
System.Collections.ObjectModel.ReadOnlyCollection<RadTabbedFormControlItem>
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
ArrangeTabItem(RadElement, Single, Single, ref Single, Single)
Declaration
protected virtual void ArrangeTabItem(RadElement child, float width, float height, ref float x, float y)
Parameters
RadElement
child
|
System.Single
width
|
System.Single
height
|
System.Single
x
|
System.Single
y
|
ArrangeTabItems(IList<RadTabbedFormControlItem>, Single, Single, ref Single, Single, Boolean)
Declaration
protected virtual void ArrangeTabItems(IList<RadTabbedFormControlItem> tabItems, float actualTabWidth, float actualHeight, ref float x, float y, bool shouldCheckForPinnedItems)
Parameters
System.Collections.Generic.IList<RadTabbedFormControlItem>
tabItems
|
System.Single
actualTabWidth
|
System.Single
actualHeight
|
System.Single
x
|
System.Single
y
|
System.Boolean
shouldCheckForPinnedItems
|
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateNewItemElement()
Declaration
protected virtual LightVisualButtonElement CreateNewItemElement()
Returns
LightVisualButtonElement
|
CreateNextItemsElement()
Declaration
protected virtual LightVisualButtonElement CreateNextItemsElement()
Returns
LightVisualButtonElement
|
CreatePreviousItemsElement()
Declaration
protected virtual LightVisualButtonElement CreatePreviousItemsElement()
Returns
LightVisualButtonElement
|
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
GetActualTabWidth(Single, Int32)
Declaration
protected virtual float GetActualTabWidth(float width, int count)
Parameters
System.Single
width
|
System.Int32
count
|
Returns
System.Single
|
GetTabItems()
Declaration
protected virtual List<RadTabbedFormControlItem> GetTabItems()
Returns
System.Collections.Generic.List<RadTabbedFormControlItem>
|
GetVisibleTabItems(IList<RadTabbedFormControlItem>, Int32, RadTabbedFormControlElement, RadTabbedFormControlItem)
Declaration
protected virtual IList<RadTabbedFormControlItem> GetVisibleTabItems(IList<RadTabbedFormControlItem> tabItems, int count, RadTabbedFormControlElement element, RadTabbedFormControlItem centerItem)
Parameters
System.Collections.Generic.IList<RadTabbedFormControlItem>
tabItems
|
System.Int32
count
|
RadTabbedFormControlElement
element
|
RadTabbedFormControlItem
centerItem
|
Returns
System.Collections.Generic.IList<RadTabbedFormControlItem>
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnDoubleClick(EventArgs)
Declaration
protected override void OnDoubleClick(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
UpdateVisibleItemsWithBackwardOffset(Int32)
Declaration
protected virtual List<RadTabbedFormControlItem> UpdateVisibleItemsWithBackwardOffset(int count)
Parameters
System.Int32
count
|
Returns
System.Collections.Generic.List<RadTabbedFormControlItem>
|
UpdateVisibleItemsWithForwardOffset(Int32)
Declaration
protected virtual List<RadTabbedFormControlItem> UpdateVisibleItemsWithForwardOffset(int count)
Parameters
System.Int32
count
|
Returns
System.Collections.Generic.List<RadTabbedFormControlItem>
|
Events
NewItemClicked
Declaration
public event EventHandler NewItemClicked
Event Type
System.EventHandler
|