Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
This method is used to measure and arrange a set of child elements. This method is used both for the normal Measure/Arrange pass, and also to determine where an item would show up if it were added to this panel. This is used for docking previews.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Function Measure ( _
availableSize As Size, _
orientation As Orientation, _
measureData As IEnumerable(Of SplitterMeasureData), _
remeasureElements As Boolean _
) As Size
'Usage
Dim availableSize As Size
Dim orientation As Orientation
Dim measureData As IEnumerable(Of SplitterMeasureData)
Dim remeasureElements As Boolean
Dim returnValue As Size
returnValue = SplitterPanel.Measure(availableSize, _
orientation, measureData, remeasureElements)
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: System.Windows.Size
The size available to the control.
- orientation
Type: System.Windows.Controls.Orientation
The control's orientation.
- measureData
Type: System.Collections.Generic.IEnumerable<SplitterMeasureData>
The enumeration of child UIElements to measure and arrange.
- remeasureElements
Type: System.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: System.Windows.Size
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.