Class LayoutUtils
Inheritance
System.Object
LayoutUtils
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class LayoutUtils : Object
Constructors
LayoutUtils()
Declaration
public LayoutUtils()
Fields
AnyBottom
AnyCenter
AnyLeft
AnyMiddle
AnyRight
AnyTop
InvalidBounds
InvalidPadding
InvalidSizeF
MaxRectangle
MaxSize
TestString
Declaration
public static readonly string TestString
Field Value
System.
|
Methods
Align(SizeF, RectangleF, ContentAlignment)
Declaration
public static RectangleF Align(SizeF alignThis, RectangleF withinThis, ContentAlignment align)
Parameters
Size
|
Rectangle
|
Content
|
Returns
HAlign(SizeF, RectangleF, ContentAlignment)
Declaration
public static RectangleF HAlign(SizeF alignThis, RectangleF withinThis, ContentAlignment align)
Parameters
Size
|
Rectangle
|
Content
|
Returns
RtlTranslate(Rect, Rect)
Declaration
public static Rect RtlTranslate(Rect bounds, Rect withinBounds)
Parameters
System.
|
System.
|
Returns
System.
|
VAlign(SizeF, RectangleF, ContentAlignment)
Declaration
public static RectangleF VAlign(SizeF alignThis, RectangleF withinThis, ContentAlignment align)
Parameters
Size
|
Rectangle
|
Content
|