WPF

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

    Show / Hide Table of Contents

    Class CustomWrapPanel

    Presents panel that replaces in ItemsPanelTemplate of Command Menu.

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

    Constructors

    CustomWrapPanel()

    Declaration
    public CustomWrapPanel()

    Properties

    VisualChildrenCount

    Gets the number of child elements for the control.

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

    An Int32 value that represents the number of child elements.

    Methods

    ArrangeOverride(Size)

    Arranges the content of a System.Windows.Controls.WrapPanel element.

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

    The System.Windows.Size that this element should use to arrange its child elements.

    Returns
    Type Description
    System.Windows.Size

    The System.Windows.Size that represents the arranged size of this System.Windows.Controls.WrapPanel element and its children.

    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 child elements of a System.Windows.Controls.WrapPanel in anticipation of arranging them during the System.Windows.Controls.WrapPanel.ArrangeOverride(System.Windows.Size) pass.

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

    An upper limit System.Windows.Size that should not be exceeded.

    Returns
    Type Description
    System.Windows.Size

    The System.Windows.Size that represents the desired size of the element.

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