Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.ListBox Namespace / PanelBase Class / MeasureOverride Method

An upper limit Size that should not be exceeded.



In This Topic
    MeasureOverride Method (PanelBase)
    In This Topic

    Measures the child elements in anticipation of arranging them during the ArrangeOverride pass.

    Syntax
    'Declaration
     
    Protected Overrides Function MeasureOverride( _
       ByVal availableSize As Size _
    ) As Size
    'Usage
     
    Dim instance As PanelBase
    Dim availableSize As Size
    Dim value As Size
     
    value = instance.MeasureOverride(availableSize)
    protected override Size MeasureOverride( 
       Size availableSize
    )

    Parameters

    availableSize

    An upper limit Size that should not be exceeded.

    Return Value

    The Size that represents the desired size of the element.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also