Class ExtensionMethodsSpreadsheet
Represents extension methods.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Utilities
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public static class ExtensionMethodsSpreadsheet
Methods
Contains(Rect, Rect)
Determines whether given rectangle is contained by the current.
Declaration
public static bool Contains(this Rect rect, Rect other)
Parameters
System.Windows.Rect
rect
The current rectangle. |
System.Windows.Rect
other
The other. |
Returns
System.Boolean
|
GetBoundsRelativeTo(FrameworkElement, UIElement)
Gets the bounds relative to the current framework element.
Declaration
public static Rect? GetBoundsRelativeTo(this FrameworkElement element, UIElement otherElement)
Parameters
System.Windows.FrameworkElement
element
The element. |
System.Windows.UIElement
otherElement
The other element. |
Returns
System.Nullable<System.Windows.Rect>
Rectangle that represents the bounds. |
IntersectsWith(Rect, Rect)
Determines whether given rectangle intersects with the current.
Declaration
public static bool IntersectsWith(this Rect rect, Rect other)
Parameters
System.Windows.Rect
rect
The current rectangle. |
System.Windows.Rect
other
The other. |
Returns
System.Boolean
|
IsAncestorOf(UIElement, DependencyObject)
Determines whether the element is ancestor of the current UI element.
Declaration
public static bool IsAncestorOf(this UIElement target, DependencyObject element)
Parameters
System.Windows.UIElement
target
The target. |
System.Windows.DependencyObject
element
The element. |
Returns
System.Boolean
|
Transform(GeneralTransform, Double)
Transforms the specified value using current general transform.
Declaration
public static double Transform(this GeneralTransform generalTransform, double value)
Parameters
System.Windows.Media.GeneralTransform
generalTransform
The general transform. |
System.Double
value
The value. |
Returns
System.Double
The transformed value. |
Transform(GeneralTransform, Size)
Transforms the specified value using current general transform.
Declaration
public static Size Transform(this GeneralTransform generalTransform, Size value)
Parameters
System.Windows.Media.GeneralTransform
generalTransform
The general transform. |
System.Windows.Size
value
The value. |
Returns
System.Windows.Size
The transformed value. |