Class ExtensionMethods
Inheritance
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public static class ExtensionMethods : Object
Methods
AddWidth(Size, Size)
Declaration
public static Size AddWidth(this Size size1, Size size2)
Parameters
System.
|
System.
|
Returns
System.
|
AreClose(RectangleF, RectangleF)
Declaration
public static bool AreClose(this RectangleF rect1, RectangleF rect2)
Parameters
Rectangle
|
Rectangle
|
Returns
System.
|
BlendWith(Color, Color)
Declaration
public static Color BlendWith(this Color color, Color backColor)
Parameters
System.
|
System.
|
Returns
System.
|
Darker(Color)
Declaration
public static Color Darker(this Color color)
Parameters
System.
|
Returns
System.
|
Darker(Color, Byte)
Declaration
public static Color Darker(this Color color, byte factor)
Parameters
System.
|
System.
|
Returns
System.
|
GetAssociatedLayoutBox(UIElement)
Declaration
public static LayoutBox GetAssociatedLayoutBox(this UIElement element)
Parameters
System.
|
Returns
GetCurrentSectionBox(LayoutBox)
Declaration
public static SectionLayoutBox GetCurrentSectionBox(this LayoutBox box)
Parameters
Layout
|
Returns
GetElement<T>(HierarchicalIndex, RadDocument)
Declaration
public static T GetElement<T>(this HierarchicalIndex index, RadDocument document)
where T : DocumentElement
Parameters
Hierarchical
|
Rad
|
Returns
T
|
Type Parameters
T
|
GetLocation(Rect)
Declaration
public static Point GetLocation(this Rect rect)
Parameters
System.
|
Returns
System.
|
GetSize(Rect)
Declaration
public static Size GetSize(this Rect rect)
Parameters
System.
|
Returns
System.
|
IntersectsWith(Rect, Rect)
Declaration
public static bool IntersectsWith(this Rect rect, Rect rect1)
Parameters
System.
|
System.
|
Returns
System.
|
Lighter(Color)
Declaration
public static Color Lighter(this Color color)
Parameters
System.
|
Returns
System.
|
Lighter(Color, Byte)
Declaration
public static Color Lighter(this Color color, byte factor)
Parameters
System.
|
System.
|
Returns
System.
|
LighterUsingHsl(Color)
Declaration
public static Color LighterUsingHsl(this Color color)
Parameters
System.
|
Returns
System.
|
ProbeDequeue<T>(Queue<T>)
Declaration
public static T ProbeDequeue<T>(this Queue<T> queue)
Parameters
System.
|
Returns
T
|
Type Parameters
T
|
ProbePeek<T>(Stack<T>)
Declaration
public static T ProbePeek<T>(this Stack<T> stack)
Parameters
System.
|
Returns
T
|
Type Parameters
T
|
ProbePop<T>(Stack<T>)
Declaration
public static T ProbePop<T>(this Stack<T> stack)
Parameters
System.
|
Returns
T
|
Type Parameters
T
|
SetAssociatedLayoutBox(UIElement, LayoutBox)
Declaration
public static void SetAssociatedLayoutBox(this UIElement element, LayoutBox value)
Parameters
System.
|
Layout
|
SetSource(BitmapImage, Stream)
Declaration
public static void SetSource(this BitmapImage bitmapImage, Stream imageStream)
Parameters
System.
|
System.
|
SetSourceEx(BitmapImage, Byte[], ref String)
Declaration
public static byte[] SetSourceEx(this BitmapImage bitmapImage, byte[] imageBytes, ref string extension)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
SetSourceEx(BitmapImage, Stream, ref String)
Declaration
public static Stream SetSourceEx(this BitmapImage bitmapImage, Stream imageStream, ref string extension)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
Split(String, String)
Declaration
public static string[] Split(this string input, string separator)
Parameters
System.
|
System.
|
Returns
System.
|
ToPadding(Thickness)
Declaration
public static Padding ToPadding(this Thickness thickness)
Parameters
System.
|
Returns
ToPoint(PointF)
Declaration
public static Point ToPoint(this PointF point)
Parameters
Point
|
Returns
System.
|
ToPointF(Point)
Declaration
public static PointF ToPointF(this Point point)
Parameters
System.
|
Returns
ToRect(RectangleF)
Declaration
public static Rect ToRect(this RectangleF rectangle)
Parameters
Rectangle
|
Returns
System.
|
ToRectangleF(Rect)
Declaration
public static RectangleF ToRectangleF(this Rect rectangle)
Parameters
System.
|
Returns
ToSizeF(Size)
Declaration
public static SizeF ToSizeF(this Size size)
Parameters
System.
|
Returns
ToThickness(Padding)
Declaration
public static Thickness ToThickness(this Padding padding)
Parameters
Padding
padding
|
Returns
System.
|