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. The current rectangle. |
System. The other. |
Returns
System.
|
GetBoundsRelativeTo(FrameworkElement, UIElement)
Gets the bounds relative to the current framework element.
Declaration
public static Rect? GetBoundsRelativeTo(this FrameworkElement element, UIElement otherElement)
Parameters
System. The element. |
System. The other element. |
Returns
System. 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. The current rectangle. |
System. The other. |
Returns
System.
|
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. The target. |
System. The element. |
Returns
System.
|
Transform(GeneralTransform, Double)
Transforms the specified value using current general transform.
Declaration
public static double Transform(this GeneralTransform generalTransform, double value)
Parameters
System. The general transform. |
System. The value. |
Returns
System. 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. The general transform. |
System. The value. |
Returns
System. The transformed value. |