Class LayoutUtils
Inheritance
System.Object
LayoutUtils
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Documents.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.String
|
Methods
Align(SizeF, RectangleF, ContentAlignment)
Declaration
public static RectangleF Align(SizeF alignThis, RectangleF withinThis, ContentAlignment align)
Parameters
SizeF
alignThis
|
RectangleF
withinThis
|
ContentAlignment
align
|
Returns
RectangleF
|
HAlign(SizeF, RectangleF, ContentAlignment)
Declaration
public static RectangleF HAlign(SizeF alignThis, RectangleF withinThis, ContentAlignment align)
Parameters
SizeF
alignThis
|
RectangleF
withinThis
|
ContentAlignment
align
|
Returns
RectangleF
|
RtlTranslate(Rect, Rect)
Declaration
public static Rect RtlTranslate(Rect bounds, Rect withinBounds)
Parameters
System.Windows.Rect
bounds
|
System.Windows.Rect
withinBounds
|
Returns
System.Windows.Rect
|
VAlign(SizeF, RectangleF, ContentAlignment)
Declaration
public static RectangleF VAlign(SizeF alignThis, RectangleF withinThis, ContentAlignment align)
Parameters
SizeF
alignThis
|
RectangleF
withinThis
|
ContentAlignment
align
|
Returns
RectangleF
|