DesignerView.MeasureOverride Method
This member overrides Decorator.MeasureOverride(Size), and more complete documentation might be available in that topic.
Override MeasureOverride to measure the layers.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Overrides Function MeasureOverride ( _
constraint As Size _
) As Size
protected override Size MeasureOverride(
Size constraint
)
protected:
virtual Size MeasureOverride(
Size constraint
) override
abstract MeasureOverride :
constraint:Size -> Size
override MeasureOverride :
constraint:Size -> Size
protected override function MeasureOverride(
constraint : Size
) : Size
Parameters
- constraint
Type: System.Windows.Size
The available size the element can occupy.
Return Value
Type: System.Windows.Size
A Size object that represents the size of the element.
.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.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace