WPF

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

    Show / Hide Table of Contents

    Class ButtonLayoutPanel

    This class is responsible for layout of RibbonButtons.

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

    Constructors

    ButtonLayoutPanel()

    Declaration
    public ButtonLayoutPanel()

    Fields

    SeparatorBrushProperty

    Identifies the SeparatorBrush dependency property.

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

    Properties

    SeparatorBrush

    Gets or sets the separator brush.

    Declaration
    public Brush SeparatorBrush { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The separator brush.

    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 arrangeSize)
    Parameters
    Type Name Description
    System.Windows.Size arrangeSize

    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 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 constraint)
    Parameters
    Type Name Description
    System.Windows.Size constraint

    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.

    OnSeparatorBrushChanged(DependencyPropertyChangedEventArgs)

    Raises the SeparatorBrushChanged event.

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

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

    Events

    SeparatorBrushChanged

    Event that is raised when SeparatorBrush property is changed.

    Declaration
    public event PropertyChangedCallback SeparatorBrushChanged
    Event Type
    Type Description
    System.Windows.PropertyChangedCallback

    Implements

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