WPF

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

    Show / Hide Table of Contents

    Class GroupPanel

    This class is responsible for layout of the ribbon bar content.

    Inheritance
    System.Object
    GroupPanel
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class GroupPanel : Panel

    Constructors

    GroupPanel()

    Initializes a new instance of the GroupPanel class.

    Declaration
    public GroupPanel()

    Fields

    C_PanelHeight

    Defines panel height.

    Declaration
    public const int C_PanelHeight = 67
    Field Value
    Type Description
    System.Int32

    ItemHeightProperty

    Using a DependencyProperty as the backing store for LauncherButton. This enables animation, styling, binding data etc...

    Declaration
    public static readonly DependencyProperty ItemHeightProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ItemMarginProperty

    Represents the ItemMarginProperty Dependency property

    Declaration
    public static readonly DependencyProperty ItemMarginProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ItemWidthProperty

    Using a DependencyProperty as the backing store for LauncherButton. This enables animation, styling, binding data etc...

    Declaration
    public static readonly DependencyProperty ItemWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    PanelStateProperty

    Using a DependencyProperty as the backing store for LauncherButton. This enables animation, styling, binding data etc...

    Declaration
    public static readonly DependencyProperty PanelStateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    ItemHeight

    Gets or sets item height value.

    Declaration
    public double ItemHeight { get; set; }
    Property Value
    Type Description
    System.Double

    ItemMargin

    Gets or sets the item margin.

    Declaration
    public Thickness ItemMargin { get; set; }
    Property Value
    Type Description
    System.Windows.Thickness

    The item margin.

    ItemWidth

    Gets or sets item width value.

    Declaration
    public double ItemWidth { get; set; }
    Property Value
    Type Description
    System.Double

    PanelState

    Gets or sets RibbonBar PanelState.

    Declaration
    public RibbonBarState PanelState { get; set; }
    Property Value
    Type Description
    RibbonBarState

    VisualChildrenCount

    Gets the number of visual child elements within this element.

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

    Methods

    ArrangeOverride(Size)

    Positions child elements.

    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.

    GetVisualChild(Int32)

    Returns a child at the specified index from that element's collection of child elements.

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

    The index of the visual object in the VisualCollection.

    Returns
    Type Description
    System.Windows.Media.Visual

    The child in the VisualCollection at the specified index value.

    MeasureOverride(Size)

    Measures the size in layout required for child elements and determines a size.

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

    The available size that this element can give to the child. 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 children's sizes.

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