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.
|
NewItem
Gets the Rad
Declaration
public LightVisualButtonElement NewItem { get; }
Property Value
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
PinnedItems
Gets an observable collection holding the pinned items.
Declaration
public ObservableCollection<RadTabbedFormControlItem> PinnedItems { get; }
Property Value
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
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
ShowNewTabButton
Gets or sets whether the new tab button will be visible.
Declaration
public bool ShowNewTabButton { get; set; }
Property Value
System.
|
ShowTabCloseButton
Gets or sets whether close button will be displayed in the tab.
Declaration
public bool ShowTabCloseButton { get; set; }
Property Value
System.
|
ShowTabPinButton
Gets or sets whether pin button will be displayed in the tab.
Declaration
public bool ShowTabPinButton { get; set; }
Property Value
System.
|
TabHeight
Gets or sets the default height of the tab.
Declaration
public int TabHeight { get; set; }
Property Value
System.
|
TabSpacing
Gets or sets the spacing between the tabs.
Declaration
public int TabSpacing { get; set; }
Property Value
System.
|
TabWidth
Gets or sets the default width of the tab.
Declaration
public int TabWidth { get; set; }
Property Value
System.
|
VisibleItems
Gets an read only collection holding the visible items.
Declaration
public ReadOnlyCollection<RadTabbedFormControlItem> VisibleItems { get; }
Property Value
System.
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
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
Rad
|
System.
|
System.
|
System.
|
System.
|
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.
|
System.
|
System.
|
System.
|
System.
|
System.
|
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateNewItemElement()
Declaration
protected virtual LightVisualButtonElement CreateNewItemElement()
Returns
CreateNextItemsElement()
Declaration
protected virtual LightVisualButtonElement CreateNextItemsElement()
Returns
CreatePreviousItemsElement()
Declaration
protected virtual LightVisualButtonElement CreatePreviousItemsElement()
Returns
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
GetActualTabWidth(Single, Int32)
Declaration
protected virtual float GetActualTabWidth(float width, int count)
Parameters
System.
|
System.
|
Returns
System.
|
GetTabItems()
Declaration
protected virtual List<RadTabbedFormControlItem> GetTabItems()
Returns
System.
|
GetVisibleTabItems(IList<RadTabbedFormControlItem>, Int32, RadTabbedFormControlElement, RadTabbedFormControlItem)
Declaration
protected virtual IList<RadTabbedFormControlItem> GetVisibleTabItems(IList<RadTabbedFormControlItem> tabItems, int count, RadTabbedFormControlElement element, RadTabbedFormControlItem centerItem)
Parameters
System.
|
System.
|
Rad
|
Rad
|
Returns
System.
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnDoubleClick(EventArgs)
Declaration
protected override void OnDoubleClick(EventArgs e)
Parameters
System.
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
UpdateVisibleItemsWithBackwardOffset(Int32)
Declaration
protected virtual List<RadTabbedFormControlItem> UpdateVisibleItemsWithBackwardOffset(int count)
Parameters
System.
|
Returns
System.
|
UpdateVisibleItemsWithForwardOffset(Int32)
Declaration
protected virtual List<RadTabbedFormControlItem> UpdateVisibleItemsWithForwardOffset(int count)
Parameters
System.
|
Returns
System.
|
Events
NewItemClicked
Declaration
public event EventHandler NewItemClicked
Event Type
System.
|