Condividi tramite


SplitterPanel.Measure Method (Size, Orientation, IEnumerable<SplitterMeasureData>, Boolean)

Microsoft internal use only.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function Measure ( _
    availableSize As Size, _
    orientation As Orientation, _
    measureData As IEnumerable(Of SplitterMeasureData), _
    remeasureElements As Boolean _
) As Size
public static Size Measure(
    Size availableSize,
    Orientation orientation,
    IEnumerable<SplitterMeasureData> measureData,
    bool remeasureElements
)
public:
static Size Measure(
    Size availableSize, 
    Orientation orientation, 
    IEnumerable<SplitterMeasureData^>^ measureData, 
    bool remeasureElements
)
static member Measure : 
        availableSize:Size * 
        orientation:Orientation * 
        measureData:IEnumerable<SplitterMeasureData> * 
        remeasureElements:bool -> Size
public static function Measure(
    availableSize : Size, 
    orientation : Orientation, 
    measureData : IEnumerable<SplitterMeasureData>, 
    remeasureElements : boolean
) : Size

Parameters

  • availableSize
    Type: Size

    The size available to the control.

  • orientation
    Type: Orientation

    The control's orientation.

  • measureData
    Type: IEnumerable<SplitterMeasureData>

    The enumeration of child UIElements to measure and arrange.

  • remeasureElements
    Type: Boolean

    True to actually remeasure the child elements and attach the new layout information to them. To perform a non-invasive preview of the layout, pass false.

Return Value

Type: Size

.NET Framework Security

See Also

Reference

SplitterPanel Class

Measure Overload

Microsoft.VisualStudio.PlatformUI Namespace