| ImageOnMeasure Method |
Namespace: DigitalRune.Game.UI.ControlsAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax protected override Vector2F OnMeasure(
Vector2F availableSize
)
Protected Overrides Function OnMeasure (
availableSize As Vector2F
) As Vector2F
protected:
virtual Vector2F OnMeasure(
Vector2F availableSize
) override
abstract OnMeasure :
availableSize : Vector2F -> Vector2F
override OnMeasure :
availableSize : Vector2F -> Vector2F
Parameters
- availableSize
- Type: DigitalRune.Mathematics.AlgebraVector2F
The available space that the parent can allocate to this control. The Margin
has already been subtracted from this size. The control can ignore this parameter and
request a larger size. This parameter is used by controls that adapt their size to the
available space, like wrap panels.
Return Value
Type:
Vector2F
The desired size (without
Margin).
Remarks See Also