menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TabPanel - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TabPanel

    Panel designed to layout RibbonTabs.

    Inheritance
    System.Object
    TabPanel
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class TabPanel : Panel, IDisposable

    Constructors

    TabPanel()

    Initializes a new instance of the TabPanel class.

    Declaration
    public TabPanel()

    Fields

    SeparatorColorProperty

    Defines the color of the separator between tab buttons.

    Declaration
    public static readonly DependencyProperty SeparatorColorProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    XProperty

    Defines the x offset.

    Declaration
    public static readonly DependencyProperty XProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    ParentItemsControl

    Gets the Parent items control of Ribbon.

    Declaration
    public Ribbon ParentItemsControl { get; }
    Property Value
    Type
    Ribbon

    SeparatorColor

    Gets or sets the color of the separator between tab buttons.

    Declaration
    public Color SeparatorColor { get; set; }
    Property Value
    Type
    System.Windows.Media.Color

    VisibleChildren

    Gets collection of visible RibbonTabs.

    Declaration
    protected RibbonTabCollection VisibleChildren { get; }
    Property Value
    Type
    RibbonTabCollection

    VisualChildrenCount

    Gets the number of child objects in this instance of System.Windows.Controls.Panel.

    Declaration
    protected override int VisualChildrenCount { get; }
    Property Value
    Type Description
    System.Int32

    The number of child objects.

    Methods

    ArrangeOverride(Size)

    When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElementderived class.

    Declaration
    protected override Size ArrangeOverride(Size finalSize)
    Parameters
    Type Name Description
    System.Windows.Size finalSize

    The final area within the parent that this element should use to arrange itself and its children.

    Returns
    Type Description
    System.Windows.Size

    The actual size used.

    Dispose()

    Declaration
    public void Dispose()

    GetVisualChild(Int32)

    Gets a child of this System.Windows.Controls.Panel at the specified index position.

    Declaration
    protected override Visual GetVisualChild(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The index position of the child.

    Returns
    Type Description
    System.Windows.Media.Visual

    A child of the parent element.

    MeasureOverride(Size)

    When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    System.Windows.Size availableSize

    The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

    Returns
    Type Description
    System.Windows.Size

    The size that this element determines it needs during layout, based on its calculations of child element sizes.

    OnInitialized(EventArgs)

    Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.

    Declaration
    protected override void OnInitialized(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    The RoutedEventArgs that contains the event data.

    OnSeparatorColorChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises SeparatorColorChanged event.

    Declaration
    protected virtual void OnSeparatorColorChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    Property changes details, such as old value and new value.

    Events

    SeparatorColorChanged

    Event that is raised when SeparatorColor property is changed.

    Declaration
    public event PropertyChangedCallback SeparatorColorChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    Implements

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