Class LayoutUtils
Inheritance
System.Object
LayoutUtils
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Documents.dll
Syntax
public class LayoutUtils
Constructors
LayoutUtils()
Declaration
public LayoutUtils()
Fields
AnyBottom
Declaration
public const ContentAlignment AnyBottom = (ContentAlignment)1792
Field Value
ContentAlignment
|
AnyCenter
Declaration
public const ContentAlignment AnyCenter = (ContentAlignment)546
Field Value
ContentAlignment
|
AnyLeft
Declaration
public const ContentAlignment AnyLeft = (ContentAlignment)273
Field Value
ContentAlignment
|
AnyMiddle
Declaration
public const ContentAlignment AnyMiddle = (ContentAlignment)112
Field Value
ContentAlignment
|
AnyRight
Declaration
public const ContentAlignment AnyRight = (ContentAlignment)1092
Field Value
ContentAlignment
|
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
|