Class RadTabbedFormControlElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[ComVisible(false)]
public class RadTabbedFormControlElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadTabbedFormControlElement()
Declaration
public RadTabbedFormControlElement()
Fields
IsTabbedFormActiveProperty
ItemDragHintProperty
ItemDragModeProperty
TabbedFormWindowStateProperty
Properties
CaptionBorder
Gets the Border
Declaration
public BorderPrimitive CaptionBorder { get; }
Property Value
CaptionFill
Gets the Fill
Declaration
public FillPrimitive CaptionFill { get; }
Property Value
CaptionHeight
Gets or sets the height of the extended title bar.
Declaration
public int CaptionHeight { get; set; }
Property Value
System.
|
CaptionTextElement
CloseButton
Gets or sets the Close button
Declaration
public bool CloseButton { get; set; }
Property Value
System.
|
ContentArea
Gets the element which represents the content area of the tab view.
Declaration
public RadTabbedFormControlContentAreaElement ContentArea { get; }
Property Value
IconPrimitive
Gets the icon element.
Declaration
public ImagePrimitive IconPrimitive { get; }
Property Value
ItemDragHint
Gets or sets the Rad
Declaration
[VsbBrowsable(true)]
public RadImageShape ItemDragHint { get; set; }
Property Value
ItemDragMode
Gets or sets the drag mode of the tabs.
Declaration
public virtual TabItemDragMode ItemDragMode { get; set; }
Property Value
ItemDragService
Gets or sets the Rad
Declaration
public RadTabbedFormDragDropService ItemDragService { get; set; }
Property Value
Items
Gets all the items currently present within this element.
Declaration
public IReadOnlyCollection<RadTabbedFormControlItem> Items { get; }
Property Value
LeftItems
Gets the collection of the left items.
Declaration
public RadItemOwnerCollection LeftItems { get; }
Property Value
LeftItemsContainer
Gets the LeftItemsContainer
Declaration
public RadQuickAccessToolBar LeftItemsContainer { get; }
Property Value
MaximizeButton
Gets or sets the Maximize button
Declaration
public bool MaximizeButton { get; set; }
Property Value
System.
|
MinimizeButton
Gets or sets the Minimize button
Declaration
public bool MinimizeButton { get; set; }
Property Value
System.
|
MinimumTabWidth
Gets or sets the minimum width of the tab.
Declaration
public virtual int MinimumTabWidth { get; set; }
Property Value
System.
|
NewItem
Gets the item which stands for adding new tabs on click.
Declaration
public LightVisualButtonElement NewItem { get; }
Property Value
Owner
Gets or sets the owner Rad
Declaration
public RadTabbedFormControl Owner { get; }
Property Value
PinnedItems
Gets all 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 virtual PinnedItemsPosition PinnedItemsPosition { get; set; }
Property Value
RightItems
Gets the collection of the right items.
Declaration
public RadItemOwnerCollection RightItems { get; }
Property Value
RightItemsContainer
Gets the RightItemsContainer
Declaration
public RadQuickAccessToolBar RightItemsContainer { get; }
Property Value
SelectedItem
Gets or sets the currently selected item in the view.
Declaration
public RadTabbedFormControlItem SelectedItem { get; set; }
Property Value
ShowIcon
Gets or sets a value indicating whether an icon is displayed in the caption bar of the form.
Declaration
public virtual bool ShowIcon { get; set; }
Property Value
System.
|
ShowNewTabButton
Gets or sets whether the new tab button will be visible.
Declaration
public virtual bool ShowNewTabButton { get; set; }
Property Value
System.
|
ShowTabCloseButton
Gets or sets whether close button will be displayed in the tab.
Declaration
public virtual 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.
|
ShowText
Gets or sets whether the element holding the text is visible.
Declaration
public virtual bool ShowText { get; set; }
Property Value
System.
|
TabbedFormCaption
Gets the element which represents the caption area of the control.
Declaration
public RadTabbedFormControlCaption TabbedFormCaption { get; set; }
Property Value
TabHeight
Gets or sets the default height of the tab.
Declaration
public virtual int TabHeight { get; set; }
Property Value
System.
|
TabSpacing
Gets or sets the spacing between the tabs.
Declaration
public virtual int TabSpacing { get; set; }
Property Value
System.
|
TabWidth
Gets or sets the default width of the tab.
Declaration
public virtual int TabWidth { get; set; }
Property Value
System.
|
Methods
AddItemCore(RadTabbedFormControlItem)
Declaration
protected virtual void AddItemCore(RadTabbedFormControlItem item)
Parameters
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
BringFormToFront()
Declaration
protected virtual void BringFormToFront()
BringIntoView(RadTabbedFormControlItem)
Scrolls the Rad
Declaration
protected virtual void BringIntoView(RadTabbedFormControlItem item)
Parameters
CanDropInTitleBarArea(Point, RadTabbedFormControlElement)
Declaration
protected virtual bool CanDropInTitleBarArea(Point client, RadTabbedFormControlElement dropTarget)
Parameters
System.
|
Rad
|
Returns
System.
|
CanDropOverItem(RadTabbedFormControlItem, RadTabbedFormControlItem, Point)
Declaration
protected virtual bool CanDropOverItem(RadTabbedFormControlItem dragItem, RadTabbedFormControlItem hitItem, Point mousePosition)
Parameters
Rad
|
Rad
|
System.
|
Returns
System.
|
CanPerformImmediateDrag(Point)
Declaration
protected virtual bool CanPerformImmediateDrag(Point mousePosition)
Parameters
System.
|
Returns
System.
|
CanPerformImmediateDrop(DragDirection, Int32, RadTabbedFormControlItem, RadTabbedFormControlItem)
Declaration
protected virtual bool CanPerformImmediateDrop(DragDirection direction, int x, RadTabbedFormControlItem dragItem, RadTabbedFormControlItem hitItem)
Parameters
Drag
|
System.
|
Rad
|
Rad
|
Returns
System.
|
CanSelectItem(RadTabbedFormControlItem)
Declaration
protected virtual bool CanSelectItem(RadTabbedFormControlItem item)
Parameters
Returns
System.
|
CloseForm()
Declaration
protected virtual void CloseForm()
CloseItem(RadTabbedFormControlItem)
Declaration
protected virtual void CloseItem(RadTabbedFormControlItem item)
Parameters
Control_VisibleChanged(Object, EventArgs)
Declaration
protected void Control_VisibleChanged(object sender, EventArgs e)
Parameters
System.
|
System.
|
CreateBorderElement()
CreateButtonGroup()
Declaration
protected virtual RadQuickAccessToolBar CreateButtonGroup()
Returns
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateContentAreaElement()
Declaration
protected virtual RadTabbedFormControlContentAreaElement CreateContentAreaElement()
Returns
CreateDefaultContextMenu()
CreateFillElement()
CreateIconElement()
CreateItem()
Declaration
protected virtual RadTabbedFormControlItem CreateItem()
Returns
CreateTabbedFormCaption()
Declaration
protected virtual RadTabbedFormControlCaption CreateTabbedFormCaption()
Returns
CreateTextElement()
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
DpiScaleChanged(SizeF)
Declaration
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters
System.
|
Overrides
EndItemDrag(RadTabbedFormControlItem)
Declaration
protected virtual void EndItemDrag(RadTabbedFormControlItem item)
Parameters
GetClientRectangleFromContentElement(RadTabbedFormControlContentAreaElement)
Declaration
public virtual Rectangle GetClientRectangleFromContentElement(RadTabbedFormControlContentAreaElement contentArea)
Parameters
Rad
|
Returns
System.
|
GetContentAreaRectangle()
Declaration
public virtual Rectangle GetContentAreaRectangle()
Returns
System.
|
GetEmptyTab()
GetItemAt(Int32)
Declaration
public RadTabbedFormControlItem GetItemAt(int index)
Parameters
System.
|
Returns
GetNextItemIndex(RadTabbedFormControlItem, Boolean, Boolean)
Declaration
protected virtual int GetNextItemIndex(RadTabbedFormControlItem current, bool forward, bool wrap)
Parameters
Rad
|
System.
|
System.
|
Returns
System.
|
HandleNewTabRequested()
Declaration
protected virtual void HandleNewTabRequested()
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
InitializeNewForm()
InsertItemCore(Int32, RadTabbedFormControlItem)
Declaration
protected virtual void InsertItemCore(int index, RadTabbedFormControlItem item)
Parameters
System.
|
Rad
|
ItemFromPoint(Point)
Gets the item that contains the porvided point (in control's client coordinates).
Declaration
public RadTabbedFormControlItem ItemFromPoint(Point client)
Parameters
System.
|
Returns
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OffsetTabContent(Rectangle)
Declaration
protected virtual Rectangle OffsetTabContent(Rectangle contentRect)
Parameters
System.
|
Returns
System.
|
OnCloseMenuItemClick(Object, EventArgs)
Declaration
protected virtual void OnCloseMenuItemClick(object sender, EventArgs e)
Parameters
System.
|
System.
|
OnContentBoundsChanged()
Declaration
protected virtual void OnContentBoundsChanged()
OnContextMenuOpening(RadTabbedFormControlItemConextMenuOpeningEventArgs)
Declaration
protected virtual void OnContextMenuOpening(RadTabbedFormControlItemConextMenuOpeningEventArgs args)
Parameters
OnControlAdded(Object, ControlEventArgs)
Declaration
protected virtual void OnControlAdded(object sender, ControlEventArgs e)
Parameters
System.
|
System.
|
OnDoubleClick(EventArgs)
Declaration
protected override void OnDoubleClick(EventArgs e)
Parameters
System.
|
Overrides
OnItemClick(RadTabbedFormControlItem, EventArgs)
Declaration
protected virtual void OnItemClick(RadTabbedFormControlItem sender, EventArgs e)
Parameters
Rad
|
System.
|
OnItemCreating(RadTabbedFormControlItemCreatingEventArgs)
Declaration
protected virtual RadTabbedFormControlItem OnItemCreating(RadTabbedFormControlItemCreatingEventArgs args)
Parameters
Returns
OnItemDrag(RadTabbedFormControlItem, MouseEventArgs)
Declaration
protected virtual void OnItemDrag(RadTabbedFormControlItem sender, MouseEventArgs e)
Parameters
Rad
|
System.
|
OnItemDropped(Object, RadTabbedFormControlItemDroppedEventArgs)
Declaration
protected virtual void OnItemDropped(object sender, RadTabbedFormControlItemDroppedEventArgs args)
Parameters
System.
|
Rad
|
OnItemDropping(Object, RadTabbedFormControlItemDroppingEventArgs)
Declaration
protected virtual void OnItemDropping(object sender, RadTabbedFormControlItemDroppingEventArgs args)
Parameters
System.
|
Rad
|
OnItemMouseDown(RadTabbedFormControlItem, MouseEventArgs)
Declaration
protected virtual void OnItemMouseDown(RadTabbedFormControlItem sender, MouseEventArgs e)
Parameters
Rad
|
System.
|
OnItemMouseUp(RadTabbedFormControlItem, MouseEventArgs)
Declaration
protected virtual void OnItemMouseUp(RadTabbedFormControlItem sender, MouseEventArgs e)
Parameters
Rad
|
System.
|
OnItemsChanged(Object, RadTabbedFormControlItemsChangedEventArgs)
Declaration
protected virtual void OnItemsChanged(object sender, RadTabbedFormControlItemsChangedEventArgs args)
Parameters
System.
|
Rad
|
OnItemSelected(Object, RadTabbedFormControlItemSelectedEventArgs)
Declaration
public virtual void OnItemSelected(object sender, RadTabbedFormControlItemSelectedEventArgs args)
Parameters
System.
|
Rad
|
OnItemSelecting(Object, RadTabbedFormControlItemSelectingEventArgs)
Declaration
public virtual void OnItemSelecting(object sender, RadTabbedFormControlItemSelectingEventArgs args)
Parameters
System.
|
Rad
|
OnLoaded()
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.
|
Overrides
OnNewMenuItemClick(Object, EventArgs)
Declaration
protected virtual void OnNewMenuItemClick(object sender, EventArgs e)
Parameters
System.
|
System.
|
OnNewTabItemClicked(Object, EventArgs)
Declaration
protected virtual void OnNewTabItemClicked(object sender, EventArgs e)
Parameters
System.
|
System.
|
OnOtherMenuItemClick(Object, EventArgs)
Declaration
protected virtual void OnOtherMenuItemClick(object sender, EventArgs e)
Parameters
System.
|
System.
|
OnPinMenuItemClick(Object, EventArgs)
Declaration
protected virtual void OnPinMenuItemClick(object sender, EventArgs e)
Parameters
System.
|
System.
|
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
OnRightTabsMenuItemClick(Object, EventArgs)
Declaration
protected virtual void OnRightTabsMenuItemClick(object sender, EventArgs e)
Parameters
System.
|
System.
|
OnSelectedTabChanged(RadTabbedFormControlEventArgs)
Declaration
protected virtual void OnSelectedTabChanged(RadTabbedFormControlEventArgs e)
Parameters
OnTabbedFormControlCreating(Object, TabbedFormControlCreatingEventArgs)
Declaration
protected virtual void OnTabbedFormControlCreating(object sender, TabbedFormControlCreatingEventArgs e)
Parameters
System.
|
Tabbed
|
OnTabIndexChanged(RadTabbedFormControlIndexChangedEventArgs)
Declaration
protected virtual void OnTabIndexChanged(RadTabbedFormControlIndexChangedEventArgs e)
Parameters
PaintOverride(IGraphics, Rectangle, Single, SizeF, Boolean)
Declaration
protected override void PaintOverride(IGraphics screenRadGraphics, Rectangle clipRectangle, float angle, SizeF scale, bool useRelativeTransformation)
Parameters
IGraphics
screenRadGraphics
|
System.
|
System.
|
System.
|
System.
|
Overrides
PerformItemDrop(RadTabbedFormControlItem, RadTabbedFormControlItem)
Declaration
protected virtual void PerformItemDrop(RadTabbedFormControlItem dragItem, RadTabbedFormControlItem hitItem)
Parameters
Rad
|
Rad
|
ProcessDragDrop(Point, ISupportDrag)
Declaration
protected override void ProcessDragDrop(Point dropLocation, ISupportDrag dragObject)
Parameters
System.
|
ISupport
|
Overrides
ProcessDragOver(Point, ISupportDrag)
Declaration
protected override bool ProcessDragOver(Point mousePosition, ISupportDrag dragObject)
Parameters
System.
|
ISupport
|
Returns
System.
|
Overrides
RemoveItemCore(RadTabbedFormControlItem)
Declaration
protected virtual void RemoveItemCore(RadTabbedFormControlItem item)
Parameters
SelectNextItem()
Selects the next available item.
Declaration
public bool SelectNextItem()
Returns
System.
|
SelectNextItemCore(RadTabbedFormControlItem, Boolean, Boolean)
Declaration
protected virtual bool SelectNextItemCore(RadTabbedFormControlItem current, bool forward, bool wrap)
Parameters
Rad
|
System.
|
System.
|
Returns
System.
|
SelectPreviousItem()
Selects the previous available item.
Declaration
public bool SelectPreviousItem()
Returns
System.
|
SetItemIndex(Int32, Int32)
Declaration
protected virtual void SetItemIndex(int currentIndex, int newIndex)
Parameters
System.
|
System.
|
SetSelectedContent(RadTabbedFormControlItem)
Declaration
protected virtual void SetSelectedContent(RadTabbedFormControlItem item)
Parameters
SetSelectedItem(RadTabbedFormControlItem)
Declaration
protected virtual void SetSelectedItem(RadTabbedFormControlItem item)
Parameters
ShouldArrangeChild(RadElement)
Declaration
protected override bool ShouldArrangeChild(RadElement child)
Parameters
Rad
|
Returns
System.
|
Overrides
ShouldFitTitleBarOnTwoRows()
Declaration
protected virtual bool ShouldFitTitleBarOnTwoRows()
Returns
System.
|
ShouldLayoutChild(RadElement)
Declaration
protected virtual bool ShouldLayoutChild(RadElement child)
Parameters
Rad
|
Returns
System.
|
ShouldMeasureChild(RadElement)
Declaration
protected override bool ShouldMeasureChild(RadElement child)
Parameters
Rad
|
Returns
System.
|
Overrides
ShowContextMenu(RadTabbedFormControlItem)
Declaration
protected virtual void ShowContextMenu(RadTabbedFormControlItem tabItem)
Parameters
Rad
|
StartItemDrag(RadTabbedFormControlItem)
Declaration
protected virtual void StartItemDrag(RadTabbedFormControlItem item)
Parameters
SyncronizeItem(RadTabbedFormControlItem)
Declaration
protected virtual void SyncronizeItem(RadTabbedFormControlItem item)
Parameters
UpdateButtonGroupsOnItemsChanged(RadItemCollection, RadItem, ItemsChangeOperation)
Declaration
protected virtual void UpdateButtonGroupsOnItemsChanged(RadItemCollection changed, RadItem target, ItemsChangeOperation operation)
Parameters
Rad
|
Rad
|
Items
|
UpdateLayoutWhileImmediateDrag(RadTabbedFormControlItem, DragDirection, Int32)
Declaration
protected virtual void UpdateLayoutWhileImmediateDrag(RadTabbedFormControlItem dragItem, DragDirection direction, int deltaX)
Parameters
Rad
|
Drag
|
System.
|
UpdatePinnedItems(RadTabbedFormControlItem)
Declaration
protected virtual void UpdatePinnedItems(RadTabbedFormControlItem item)
Parameters
UpdateReferences(ComponentThemableElementTree, Boolean, Boolean)
Declaration
protected override void UpdateReferences(ComponentThemableElementTree tree, bool updateInheritance, bool recursive)
Parameters
Component
|
System.
|
System.
|
Overrides
UpdateTabBounds(RadTabbedFormControlTab)
Declaration
protected virtual void UpdateTabBounds(RadTabbedFormControlTab tab)
Parameters
VisibleChangedCore()
Declaration
protected virtual void VisibleChangedCore()
Events
ContextMenuOpening
Occurs before the default context menu is opened.
Declaration
public event EventHandler<RadTabbedFormControlItemConextMenuOpeningEventArgs> ContextMenuOpening
Event Type
System.
|
ItemClicked
Occurs when a tab is clicked.
Declaration
public event EventHandler ItemClicked
Event Type
System.
|
ItemCreating
Occurs before the tab items is attached to its owner element.
Declaration
public event EventHandler<RadTabbedFormControlItemCreatingEventArgs> ItemCreating
Event Type
System.
|
ItemDropped
Occurs after a tap is dropped.
Declaration
public event EventHandler<RadTabbedFormControlItemDroppedEventArgs> ItemDropped
Event Type
System.
|
ItemDropping
Occurs before a tab is dropped.
Declaration
public event EventHandler<RadTabbedFormControlItemDroppingEventArgs> ItemDropping
Event Type
System.
|
ItemsChanged
Occurs when a tab is added or removed.
Declaration
public event EventHandler<RadTabbedFormControlItemsChangedEventArgs> ItemsChanged
Event Type
System.
|
ItemSelected
Occurs after a tab is selected.
Declaration
public event EventHandler<RadTabbedFormControlItemSelectedEventArgs> ItemSelected
Event Type
System.
|
ItemSelecting
Occurs before the tab is selected.
Declaration
public event EventHandler<RadTabbedFormControlItemSelectingEventArgs> ItemSelecting
Event Type
System.
|