WPF

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

    Show / Hide Table of Contents

    Class RibbonLayoutPanel

    Class of utility type, which is responsible for layout.

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

    Constructors

    RibbonLayoutPanel()

    Initializes a new instance of the RibbonLayoutPanel class.

    Declaration
    public RibbonLayoutPanel()

    Properties

    VisualChildrenCount

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

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

    Methods

    ArrangeOverride(Size)

    Positions child elements.

    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()

    Disposes the unmanaged resource.

    Declaration
    public void Dispose()

    GetVisualChild(Int32)

    Gets a System.Windows.Media.Visual 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 System.Windows.Media.Visual child.

    Returns
    Type Description
    System.Windows.Media.Visual

    A System.Windows.Media.Visual child of the parent System.Windows.Controls.Panel element.

    MeasureOverride(Size)

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

    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.

    OnRender(DrawingContext)

    Draws the content of a DrawingContext object during the render pass of a Panel element.

    Declaration
    protected override void OnRender(DrawingContext dc)
    Parameters
    Type Name Description
    System.Windows.Media.DrawingContext dc

    The DrawingContext object to draw.

    OnVisualChildrenChanged(DependencyObject, DependencyObject)

    Invoked when the System.Windows.Media.VisualCollection of a visual object is modified.

    Declaration
    protected override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved)
    Parameters
    Type Name Description
    System.Windows.DependencyObject visualAdded

    The System.Windows.Media.Visual that was added to the collection.

    System.Windows.DependencyObject visualRemoved

    The System.Windows.Media.Visual that was removed from the collection.

    Implements

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