FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / GridPanel Class / MeasureOverride Method
The size of the control available for use in the layout logic.

In This Topic
    MeasureOverride Method
    In This Topic
    Provides the behavior for the measure part of the control layout.
    Syntax
    'Declaration
     
    
    Protected Overrides Function MeasureOverride( _
       ByVal availableSize As Size _
    ) As Size
    protected override Size MeasureOverride( 
       Size availableSize
    )

    Parameters

    availableSize
    The size of the control available for use in the layout logic.

    Return Value

    The size that this element determines it needs during layout, based on its calculations of child element sizes.
    See Also