ClassRadTabbedFormControlTabsElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTabbedFormControlTabsElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadTabbedFormControlTabsElement
Implements:
Inherited Members
Constructors
RadTabbedFormControlTabsElement()
Declaration
public RadTabbedFormControlTabsElement()
Fields
MinimumTabWidthProperty
Declaration
public static RadProperty MinimumTabWidthProperty
Field Value
PinnedItemsPositionProperty
Declaration
public static RadProperty PinnedItemsPositionProperty
Field Value
ShowNewTabButtonProperty
Declaration
public static RadProperty ShowNewTabButtonProperty
Field Value
ShowTabCloseButtonProperty
Declaration
public static RadProperty ShowTabCloseButtonProperty
Field Value
ShowTabPinButtonProperty
Declaration
public static RadProperty ShowTabPinButtonProperty
Field Value
Properties
MinimumTabWidth
Gets or sets the minimum width of the tab.
NewItem
Gets the RadTabbedFormControlItem which stands for adding new tabs on click.
Declaration
[Browsable(false)]
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
[Browsable(false)]
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
[Browsable(false)]
public LightVisualButtonElement PreviousItemsButton { get; }
Property Value
ShowNewTabButton
Gets or sets whether the new tab button will be visible.
ShowTabCloseButton
Gets or sets whether close button will be displayed in the tab.
ShowTabPinButton
Gets or sets whether pin button will be displayed in the tab.
TabHeight
Gets or sets the default height of the tab.
TabSpacing
Gets or sets the spacing between the tabs.
TabWidth
Gets or sets the default width of the tab.
VisibleItems
Gets an read only collection holding the visible items.
Declaration
public ReadOnlyCollection<RadTabbedFormControlItem> VisibleItems { get; }
Property Value
Methods
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
ArrangeTabItem(RadElement, float, float, ref float, float)
Declaration
protected virtual void ArrangeTabItem(RadElement child, float width, float height, ref float x, float y)
Parameters
child
width
height
x
y
ArrangeTabItems(IList<RadTabbedFormControlItem>, float, float, ref float, float, bool)
Declaration
protected virtual void ArrangeTabItems(IList<RadTabbedFormControlItem> tabItems, float actualTabWidth, float actualHeight, ref float x, float y, bool shouldCheckForPinnedItems)
Parameters
tabItems
IList<RadTabbedFormControlItem>
actualTabWidth
actualHeight
x
y
shouldCheckForPinnedItems
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
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()
Disposes of managed resources including cached images and SVG images when the element is being disposed.
Declaration
protected override void DisposeManagedResources()
Overrides
GetTabItems()
Declaration
protected virtual List<RadTabbedFormControlItem> GetTabItems()
Returns
List<RadTabbedFormControlItem>
GetVisibleTabItems(IList<RadTabbedFormControlItem>, int, RadTabbedFormControlElement, RadTabbedFormControlItem)
Declaration
protected virtual IList<RadTabbedFormControlItem> GetVisibleTabItems(IList<RadTabbedFormControlItem> tabItems, int count, RadTabbedFormControlElement element, RadTabbedFormControlItem centerItem)
Parameters
tabItems
IList<RadTabbedFormControlItem>
count
element
centerItem
Returns
IList<RadTabbedFormControlItem>
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnDoubleClick(EventArgs)
Raises the DoubleClick event.
Declaration
protected override void OnDoubleClick(EventArgs e)
Parameters
e
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
Event arguments containing information about the property that changed.
Overrides
UpdateVisibleItemsWithBackwardOffset(int)
Declaration
protected virtual List<RadTabbedFormControlItem> UpdateVisibleItemsWithBackwardOffset(int count)
Parameters
count
Returns
List<RadTabbedFormControlItem>
UpdateVisibleItemsWithForwardOffset(int)
Declaration
protected virtual List<RadTabbedFormControlItem> UpdateVisibleItemsWithForwardOffset(int count)
Parameters
count
Returns
List<RadTabbedFormControlItem>