RadControls for WinForms

Measures the space required by the LayoutElement Used by the layout system.

Namespace: Telerik.WinControls.RichTextBox.Layout
Assembly: Telerik.WinControls.RichTextBox (in Telerik.WinControls.RichTextBox.dll) Version: 2013.1.321.40 (2013.1.321.40)

Syntax

C#
protected virtual SizeF MeasureOverride(
	SizeF availableSize
)
Visual Basic
Protected Overridable Function MeasureOverride ( _
	availableSize As SizeF _
) As SizeF

Parameters

availableSize
Type: System.Drawing..::..SizeF
The size that is available to the LayoutElement. The available size can be infinity (to take the full size of the element)

Return Value

The minimum size required by the element to be completely visible. Cannot be infinify.

Remarks

In this method call to the Measure method of each child must be made.

See Also