DisplayCanvasMeasureOverride Method

CVB.Net Documentation
Measures the size in layout required for child elements and determines a size for this control.

Namespace:  Stemmer.Cvb.Wpf.Controls
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

protected override Size MeasureOverride(
	Size availableSize
)

Parameters

availableSize
Type: System.WindowsSize
The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

Return Value

Type: Size
The size that this element determines it needs during layout, based on the availableSize and the displayed image source size.
See Also

Reference