WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DocumentTabControl

    Show / Hide Table of Contents

    Class DocumentTabControl

    Represents class for document tab control

    Inheritance
    System.Object
    TabControlExt
    DocumentTabControl
    Implements
    System.IDisposable
    Inherited Members
    TabControlExt.EditHeaderTemplateProperty
    TabControlExt.CloseModeProperty
    TabControlExt.TabClosingEvent
    TabControlExt.DragSourceObject
    TabControlExt.DraggedItem
    TabControlExt.DragStartEvent
    TabControlExt.DragEndEvent
    TabControlExt.HideHeaderOnSingleChildProperty
    TabControlExt.DefaultContextMenuItemVisibilityProperty
    TabControlExt.AllowDragDropProperty
    TabControlExt.TabListContextMenuItemTemplateProperty
    TabControlExt.TabListContextMenuStyleProperty
    TabControlExt.TabListContextMenuTemplateProperty
    TabControlExt.TabListContextMenuItemStyleProperty
    TabControlExt.NewTabButtonTemplateProperty
    TabControlExt.NewButtonTemplateProperty
    TabControlExt.NewButtonBackgroundProperty
    TabControlExt.NewButtonBorderThicknessProperty
    TabControlExt.NewButtonAlignmentProperty
    TabControlExt.NewButtonStyleProperty
    TabControlExt.TabItemSelectedBackgroundProperty
    TabControlExt.TabItemSelectedForegroundProperty
    TabControlExt.TabItemSelectedBorderBrushProperty
    TabControlExt.TabItemHoverBackgroundProperty
    TabControlExt.TabItemHoverBorderBrushProperty
    TabControlExt.TabItemHoverForegroundProperty
    TabControlExt.ScrollingTimeProperty
    TabControlExt.IsAllTabsClosedPropertyKey
    TabControlExt.IsAllTabsClosedProperty
    TabControlExt.DragMarkerStyleProperty
    TabControlExt.FullScreenModeProperty
    TabControlExt.EditHeaderItemStyleProperty
    TabControlExt.ToolBarTrayProperty
    TabControlExt.DragMarkerColorProperty
    TabControlExt.CustomEditableTemplateProperty
    TabControlExt.UseCustomEditableTemplateProperty
    TabControlExt.IsEditingProperty
    TabControlExt.EnableLabelEditProperty
    TabControlExt.TabPanelItemProperty
    TabControlExt.IsDisableUnloadTabItemExtContentProperty
    TabControlExt.SelectOnCreatingNewItemProperty
    TabControlExt.ShowTabListContextMenuProperty
    TabControlExt.ContextMenuItemsProperty
    TabControlExt.ShowTabItemContextMenuProperty
    TabControlExt.CloseButtonTypeProperty
    TabControlExt.ImageProperty
    TabControlExt.MenuIconProperty
    TabControlExt.IsNewButtonEnabledProperty
    TabControlExt.IsNewButtonClosedonNoChildProperty
    TabControlExt.EnableAutoScrollProperty
    TabControlExt.ImageHeightProperty
    TabControlExt.ImageWidthProperty
    TabControlExt.HoverBackgroundProperty
    TabControlExt.TabPanelBackgroundProperty
    TabControlExt.HotTrackingEnabledProperty
    TabControlExt.ImageAlignmentProperty
    TabControlExt.RotateTextWhenVerticalProperty
    TabControlExt.TabPanelTemplateProperty
    TabControlExt.TabPanelStyleProperty
    TabControlExt.TabItemLayoutProperty
    TabControlExt.TabItemSizeProperty
    TabControlExt.TabScrollButtonVisibilityProperty
    TabControlExt.TabScrollStyleProperty
    TabControlExt.KeepTabInFrontProperty
    TabControlExt.DisableResizeOnSelectionProperty
    TabControlExt.MenuItemCloseOtherTabsNameProperty
    TabControlExt.MenuItemCloseTabsNameProperty
    TabControlExt.MenuItemCloseAllTabsNameProperty
    TabControlExt.IsCustomTabItemContextMenuEnabledProperty
    TabControlExt.CollapseDefaultTabListContextMenuItemsProperty
    TabControlExt.TabListContextMenuOptionsProperty
    TabControlExt.TabListContextMenuItemsProperty
    TabControlExt.SelectedItemFontWeightProperty
    TabControlExt.ScrollingButtonStyleProperty
    TabControlExt.CloseTabOnMiddleClickProperty
    TabControlExt.TabVisualStyleProperty
    TabControlExt.IsLazyLoadedProperty
    TabControlExt.GetUseCustomEditableTemplate(DependencyObject)
    TabControlExt.SetUseCustomEditableTemplate(DependencyObject, Boolean)
    TabControlExt.GetCustomEditableTemplate(DependencyObject)
    TabControlExt.SetCustomEditableTemplate(DependencyObject, DataTemplate)
    TabControlExt.GetIsEditing(DependencyObject)
    TabControlExt.SetIsEditing(DependencyObject, Boolean)
    TabControlExt.GetContextMenuItems(DependencyObject)
    TabControlExt.SetContextMenuItems(DependencyObject, ObservableCollection<Object>)
    TabControlExt.GetHoverBackground(DependencyObject)
    TabControlExt.SetHoverBackground(DependencyObject, Brush)
    TabControlExt.GetImageAlignment(DependencyObject)
    TabControlExt.SetImageAlignment(DependencyObject, ImageAlignment)
    TabControlExt.GetImage(DependencyObject)
    TabControlExt.SetImage(DependencyObject, ImageSource)
    TabControlExt.GetMenuIcon(DependencyObject)
    TabControlExt.SetMenuIcon(DependencyObject, ImageSource)
    TabControlExt.GetImageHeight(DependencyObject)
    TabControlExt.SetImageHeight(DependencyObject, Double)
    TabControlExt.GetImageWidth(DependencyObject)
    TabControlExt.SetImageWidth(DependencyObject, Double)
    TabControlExt.InvokeNewTabItem(Object, EventArgs)
    TabControlExt.IDisposable.Dispose()
    TabControlExt.LabelEditStart(TabItemExt)
    TabControlExt.CompleteHeaderEdit(TabItemExt, Boolean)
    TabControlExt.SaveTabState(SaveMode)
    TabControlExt.LoadTabState(SaveMode)
    TabControlExt.VerifyZIndex()
    TabControlExt.MeasureOverride(Size)
    TabControlExt.ClearContainerForItemOverride(DependencyObject, Object)
    TabControlExt.OnTabListContextMenuItemTemplateChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnScrollingTimeChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnDragMarkerColorChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnTabPanelBackgroundChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnDragMarkerStyleChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnEnableLabelEditChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnTabPanelItemChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnShowTabListContextMenuChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnShowTabItemContextMenuChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnCloseButtonTypeChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnHotTrackingEnabledChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnRotateTextWhenVerticalChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnTabPanelTemplateChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnTabPanelStyleChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnTabScrollButtonVisibilityChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnTabScrollStyleChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnTabItemLayoutChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnTabItemSizeChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnKeepTabInFrontChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnIsCloseTabProcessEnabledChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnTabStripPlacementChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnFlowDirectionChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.CanProcessPinTabsCommand(Object, CanExecuteRoutedEventArgs)
    TabControlExt.OnStylusSystemGesture(StylusSystemGestureEventArgs)
    TabControlExt.OnPreviewKeyDown(KeyEventArgs)
    TabControlExt.FireOnClosedTab(CloseTabEventArgs)
    TabControlExt.FireBeforeDropDownContextMenuOpen()
    TabControlExt.FireBeforeDropDownContextMenuClose()
    TabControlExt.FireBeforeLabelEdit(TabItemExt)
    TabControlExt.FireAfterLabelEdit(TabItemExt)
    TabControlExt.FireDragStart(TabItemExt)
    TabControlExt.FireDragEnd(TabItemExt)
    TabControlExt.OnTakeDragItemEvent(TabItemExt)
    TabControlExt.FireSelectedItemChangedEvent(SelectedItemChangedEventArgs)
    TabControlExt.OnSelectedItemFontWeightChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnAllowDragDropChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.OnSelectedIndexChanged(DependencyPropertyChangedEventArgs)
    TabControlExt.PrepareContainerForItemOverride(DependencyObject, Object)
    TabControlExt.OnInitialized(EventArgs)
    TabControlExt.IsItemItsOwnContainerOverride(Object)
    TabControlExt.GetContainerForItemOverride()
    TabControlExt.OnItemsSourceChanged(IEnumerable, IEnumerable)
    TabControlExt.DefaultDragMarkerStyle
    TabControlExt.NewButtonAlignment
    TabControlExt.NewButtonTemplate
    TabControlExt.NewTabButtonTemplate
    TabControlExt.NewButtonBackground
    TabControlExt.NewButtonBorderThickness
    TabControlExt.NewButtonStyle
    TabControlExt.TabItemSelectedBackground
    TabControlExt.TabItemSelectedForeground
    TabControlExt.TabItemSelectedBorderBrush
    TabControlExt.TabItemHoverBackground
    TabControlExt.TabItemHoverForeground
    TabControlExt.TabItemHoverBorderBrush
    TabControlExt.TabListContextMenuItemTemplate
    TabControlExt.TabListContextMenuStyle
    TabControlExt.TabListContextMenuTemplate
    TabControlExt.TabListContextMenuItemStyle
    TabControlExt.EditHeaderTemplate
    TabControlExt.ScrollingTime
    TabControlExt.IsAllTabsClosed
    TabControlExt.CloseMode
    TabControlExt.DragMarkerStyle
    TabControlExt.FullScreenMode
    TabControlExt.EditHeaderItemStyle
    TabControlExt.ToolBarTray
    TabControlExt.DragMarkerColor
    TabControlExt.TabPanelBackground
    TabControlExt.EnableLabelEdit
    TabControlExt.TabPanelItem
    TabControlExt.IsDisableUnloadTabItemExtContent
    TabControlExt.SelectOnCreatingNewItem
    TabControlExt.ShowTabListContextMenu
    TabControlExt.ShowTabItemContextMenu
    TabControlExt.CloseButtonType
    TabControlExt.HotTrackingEnabled
    TabControlExt.RotateTextWhenVertical
    TabControlExt.TabPanelTemplate
    TabControlExt.TabPanelStyle
    TabControlExt.TabScrollButtonVisibility
    TabControlExt.TabScrollStyle
    TabControlExt.TabItemLayout
    TabControlExt.TabItemSize
    TabControlExt.KeepTabInFront
    TabControlExt.MenuItemCloseTabsName
    TabControlExt.MenuItemCloseOtherTabsName
    TabControlExt.DisableResizeOnSelection
    TabControlExt.MenuItemCloseAllTabsName
    TabControlExt.IsCustomTabItemContextMenuEnabled
    TabControlExt.CollapseDefaultTabListContextMenuItems
    TabControlExt.TabListContextMenuOptions
    TabControlExt.TabListContextMenuItems
    TabControlExt.SelectedItemFontWeight
    TabControlExt.AllowDragDrop
    TabControlExt.ActivatedItem
    TabControlExt.IsNewButtonEnabled
    TabControlExt.EnableAutoScroll
    TabControlExt.IsNewButtonClosedonNoChild
    TabControlExt.IsDragging
    TabControlExt.ScrollingButtonStyle
    TabControlExt.HideHeaderOnSingleChild
    TabControlExt.DefaultContextMenuItemVisibility
    TabControlExt.CloseTabOnMiddleClick
    TabControlExt.TabVisualStyle
    TabControlExt.IsLazyLoaded
    TabControlExt.NewButtonClick
    TabControlExt.TabOrderChanging
    TabControlExt.TabOrderChanged
    TabControlExt.TabListContextMenuItemTemplateChanged
    TabControlExt.ScrollingTimeChanged
    TabControlExt.SelectedIndexChanged
    TabControlExt.FlowDirectionChanged
    TabControlExt.TabStripPlacementChanged
    TabControlExt.DragMarkerStyleChanged
    TabControlExt.DragMarkerColorChanged
    TabControlExt.TabPanelBackgroundChanged
    TabControlExt.EnableLabelEditChanged
    TabControlExt.TabPanelItemChanged
    TabControlExt.ShowTabListContextMenuChanged
    TabControlExt.ShowTabItemContextMenuChanged
    TabControlExt.CloseButtonTypeChanged
    TabControlExt.HotTrackingEnabledChanged
    TabControlExt.TabPanelTemplateChanged
    TabControlExt.TabPanelStyleChanged
    TabControlExt.TabScrollButtonVisibilityChanged
    TabControlExt.TabScrollStyleChanged
    TabControlExt.TabItemLayoutChanged
    TabControlExt.TabItemSizeChanged
    TabControlExt.KeepTabInFrontChanged
    TabControlExt.RotateTextWhenVerticalChanged
    TabControlExt.OnCloseOtherTabs
    TabControlExt.OnCloseAllTabs
    TabControlExt.OnCloseButtonClick
    TabControlExt.BeforeDropDownContextMenuOpen
    TabControlExt.BeforeDropDownContextMenuClose
    TabControlExt.BeforeLabelEdit
    TabControlExt.AfterLabelEdit
    TabControlExt.TakeDragItemEvent
    TabControlExt.SelectedItemChangedEvent
    TabControlExt.PreviewSelectedItemChangedEvent
    TabControlExt.SelectedItemFontWeightChanged
    TabControlExt.AllowDragDropChanged
    TabControlExt.TabClosing
    TabControlExt.TabClosed
    TabControlExt.DragStart
    TabControlExt.DragEnd
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    [SkinType(SkinVisualStyle = Skin.ShinyBlue, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Framework/DocumentContainer/Themes/ShinyBlueStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Default, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF;component/Framework/DocumentContainer/Themes/vista.aero.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2010Blue, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Framework/DocumentContainer/Themes/Office2010BlueStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2007Blue, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Framework/DocumentContainer/Themes/Office2007BlueStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2007Black, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Framework/DocumentContainer/Themes/Office2007BlackStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2007Silver, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Framework/DocumentContainer/Themes/Office2007SilverStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2003, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Framework/DocumentContainer/Themes/Office2003Style.xaml")]
    [SkinType(SkinVisualStyle = Skin.ShinyRed, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Framework/DocumentContainer/Themes/ShinyRedStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2010Silver, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Framework/DocumentContainer/Themes/Office2010SilverStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2010Black, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Framework/DocumentContainer/Themes/Office2010BlackStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Blend, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Framework/DocumentContainer/Themes/BlendStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.SyncOrange, Type = typeof(DocumentContainer), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Framework/DocumentContainer/Themes/SyncOrangeStyle.xaml")]
    public class DocumentTabControl : TabControlExt, IDisposable

    Constructors

    DocumentTabControl()

    Initializes a new instance of the DocumentTabControl class.

    Declaration
    public DocumentTabControl()

    DocumentTabControl(DocumentContainer)

    Initializes a new instance of the DocumentTabControl class.

    Declaration
    public DocumentTabControl(DocumentContainer container)
    Parameters
    Type Name Description
    DocumentContainer container

    The container.

    Fields

    LastItemClosedEvent

    Occurs when [last item closed].

    Declaration
    public static readonly RoutedEvent LastItemClosedEvent
    Field Value
    Type Description
    System.Windows.RoutedEvent

    m_Flag

    represent the flag flag

    Declaration
    public bool m_Flag
    Field Value
    Type Description
    System.Boolean

    MoveToNextTabGroupCommand

    Represents move to next tab group command.

    Declaration
    public static readonly RoutedCommand MoveToNextTabGroupCommand
    Field Value
    Type Description
    System.Windows.Input.RoutedCommand

    MoveToPreviousTabGroupCommand

    Represents move to previous tab group command.

    Declaration
    public static readonly RoutedCommand MoveToPreviousTabGroupCommand
    Field Value
    Type Description
    System.Windows.Input.RoutedCommand

    NewHorizontalTabGroupCommand

    Command for new horizontal tab group.

    Declaration
    public static readonly RoutedCommand NewHorizontalTabGroupCommand
    Field Value
    Type Description
    System.Windows.Input.RoutedCommand

    NewVerticalTabGroupCommand

    Command for new Vertical tab.

    Declaration
    public static readonly RoutedCommand NewVerticalTabGroupCommand
    Field Value
    Type Description
    System.Windows.Input.RoutedCommand

    Properties

    Container

    Gets or sets the container.

    Declaration
    public DocumentContainer Container { get; set; }
    Property Value
    Type Description
    DocumentContainer

    The container.

    Methods

    CanCloseTabItem(TabItemExt)

    Determines whether this instance [can close tab item] the specified item.

    Declaration
    protected override bool CanCloseTabItem(TabItemExt item)
    Parameters
    Type Name Description
    TabItemExt item

    The tab item

    Returns
    Type Description
    System.Boolean

    true if this instance [can close tab item] the specified item; otherwise, false.

    Overrides
    TabControlExt.CanCloseTabItem(TabItemExt)

    CanProcessCloseCurrentTabItemCommand(Object, CanExecuteRoutedEventArgs)

    Represents the method that will handle the CanExecute event.

    Declaration
    protected override void CanProcessCloseCurrentTabItemCommand(object sender, CanExecuteRoutedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    The source of the event.

    System.Windows.Input.CanExecuteRoutedEventArgs e

    The event data.

    Overrides
    TabControlExt.CanProcessCloseCurrentTabItemCommand(Object, CanExecuteRoutedEventArgs)

    CanProcessCloseTabItemCommand(Object, CanExecuteRoutedEventArgs)

    Represents the method that will handle the CanExecute event.

    Declaration
    protected override void CanProcessCloseTabItemCommand(object sender, CanExecuteRoutedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    The source of the event.

    System.Windows.Input.CanExecuteRoutedEventArgs e

    The event data.

    Overrides
    TabControlExt.CanProcessCloseTabItemCommand(Object, CanExecuteRoutedEventArgs)

    CanProcessCloseTabsCommand(Object, CanExecuteRoutedEventArgs)

    Represents the method that will handle the CanExecute event.

    Declaration
    protected override void CanProcessCloseTabsCommand(object sender, CanExecuteRoutedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    The source of the event.

    System.Windows.Input.CanExecuteRoutedEventArgs e

    The event data.

    Overrides
    TabControlExt.CanProcessCloseTabsCommand(Object, CanExecuteRoutedEventArgs)

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    FireOnCloseAllTabs(CloseTabEventArgs)

    Calls when all TabItems close

    Declaration
    protected override void FireOnCloseAllTabs(CloseTabEventArgs e)
    Parameters
    Type Name Description
    CloseTabEventArgs e

    Event arguments

    Overrides
    TabControlExt.FireOnCloseAllTabs(CloseTabEventArgs)

    FireOnCloseButtonClick(CloseTabEventArgs)

    Calls when TabItem closes

    Declaration
    protected override void FireOnCloseButtonClick(CloseTabEventArgs e)
    Parameters
    Type Name Description
    CloseTabEventArgs e

    Event arguments

    Overrides
    TabControlExt.FireOnCloseButtonClick(CloseTabEventArgs)

    FireOnCloseOtherTabs(CloseTabEventArgs)

    Calls when other TabItems close

    Declaration
    protected override void FireOnCloseOtherTabs(CloseTabEventArgs e)
    Parameters
    Type Name Description
    CloseTabEventArgs e

    Event arguments

    Overrides
    TabControlExt.FireOnCloseOtherTabs(CloseTabEventArgs)

    GetContent(ContentControl)

    Gets the content.

    Declaration
    public static UIElement GetContent(ContentControl item)
    Parameters
    Type Name Description
    System.Windows.Controls.ContentControl item

    The item ContentControl.

    Returns
    Type Description
    System.Windows.UIElement

    UIElement element

    GetContentBool(ContentControl, FrameworkElement)

    Compares item content with element

    Declaration
    public static bool GetContentBool(ContentControl item, FrameworkElement element)
    Parameters
    Type Name Description
    System.Windows.Controls.ContentControl item

    tabitem

    System.Windows.FrameworkElement element

    uielement

    Returns
    Type Description
    System.Boolean

    GetOrderedItems()

    Gets the ordered items.

    Declaration
    public IList<Control> GetOrderedItems()
    Returns
    Type Description
    System.Collections.Generic.IList<System.Windows.Controls.Control>

    IList Control

    GetTabItem(UIElement)

    Gets the tab item.

    Declaration
    public TabItemExt GetTabItem(UIElement element)
    Parameters
    Type Name Description
    System.Windows.UIElement element

    The element.

    Returns
    Type Description
    TabItemExt

    TabItemExt item

    OnApplyTemplate()

    Called when an internal process or application calls ApplyTemplate, which is used to build the current template's visual tree.

    Declaration
    public override void OnApplyTemplate()
    Overrides
    TabControlExt.OnApplyTemplate()

    OnCreateAutomationPeer()

    Declaration
    protected override AutomationPeer OnCreateAutomationPeer()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationPeer
    Overrides
    TabControlExt.OnCreateAutomationPeer()

    OnItemsChanged(NotifyCollectionChangedEventArgs)

    Invoke on Items Collection Change

    Declaration
    protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
    Parameters
    Type Name Description
    System.Collections.Specialized.NotifyCollectionChangedEventArgs e

    NotifyCollectionChangedEventArgs

    Overrides
    TabControlExt.OnItemsChanged(NotifyCollectionChangedEventArgs)

    OnKeyDown(KeyEventArgs)

    Invoked when a KeyDown attached routed event occurs.

    Declaration
    protected override void OnKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e

    Event data

    OnMouseDown(MouseButtonEventArgs)

    Declaration
    protected override void OnMouseDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    OnMouseLeave(MouseEventArgs)

    Invoked when an unhandled MouseLeaveĀ attached event is raised on this element.

    Declaration
    protected override void OnMouseLeave(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    The MouseEventArgs that contains the event data.

    OnPropertyChanged(DependencyPropertyChangedEventArgs)

    Declaration
    protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e
    Overrides
    TabControlExt.OnPropertyChanged(DependencyPropertyChangedEventArgs)

    OnSelectionChanged(SelectionChangedEventArgs)

    Raises the System.Windows.Controls.Primitives.Selector.SelectionChanged routed event.

    Declaration
    protected override void OnSelectionChanged(SelectionChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Controls.SelectionChangedEventArgs e

    Provides data for System.Windows.Controls.SelectionChangedEventArgs.

    Overrides
    TabControlExt.OnSelectionChanged(SelectionChangedEventArgs)

    SetActiveItem(FrameworkElement)

    Sets the active item.

    Declaration
    public bool SetActiveItem(FrameworkElement activeItem)
    Parameters
    Type Name Description
    System.Windows.FrameworkElement activeItem

    The active item.

    Returns
    Type Description
    System.Boolean

    bool item Focus

    StateChangeHandler(Object, RoutedEventArgs)

    States the change handler.

    Declaration
    protected void StateChangeHandler(object sender, RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    The sender.

    System.Windows.RoutedEventArgs e

    The System.Windows.RoutedEventArgs instance containing the event data.

    SwitchImmediate(Int32)

    Switches the immediate.

    Declaration
    public void SwitchImmediate(int step)
    Parameters
    Type Name Description
    System.Int32 step

    The direction.

    UpdateAfterPersistLoad(UIElement)

    Updates the after persist load.

    Declaration
    public void UpdateAfterPersistLoad(UIElement activeDocument)
    Parameters
    Type Name Description
    System.Windows.UIElement activeDocument

    The active document.

    Events

    LastItemClosed

    Occurs when [last item closed].

    Declaration
    public event RoutedEventHandler LastItemClosed
    Event Type
    Type Description
    System.Windows.RoutedEventHandler

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved