WPF

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

    Show / Hide Table of Contents

    Class LargeButtonPanel

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

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

    Constructors

    LargeButtonPanel()

    Initializes a new instance of the LargeButtonPanel class.

    Declaration
    public LargeButtonPanel()

    Fields

    C_PanelHeight

    Height of the panel in pixels.

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

    ItemHeightProperty

    Identifies Item height. This is dependency property.

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

    ItemWidthProperty

    Identifies Item width. This is dependency property.

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

    Properties

    ItemHeight

    Gets or sets item height.

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

    ItemWidth

    Gets or sets item width.

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

    VisualChildrenCount

    Gets count of visual children.

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

    Methods

    ArrangeOverride(Size)

    Positions child elements and determines a size for a panel.

    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)

    Gets visual child by index.

    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 for a panel.

    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.

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