ClassExtensionMethodsSpreadsheet
Represents extension methods.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Utilities
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public static class ExtensionMethodsSpreadsheet
Inheritance: objectExtensionMethodsSpreadsheet
Methods
Contains(Rect, Rect)
Determines whether given rectangle is contained by the current.
GetBoundsRelativeTo(FrameworkElement, UIElement)
Gets the bounds relative to the current framework element.
Declaration
public static Rect? GetBoundsRelativeTo(this FrameworkElement element, UIElement otherElement)
Parameters
element
The element.
otherElement
The other element.
Returns
Rect?
Rectangle that represents the bounds.
IntersectsWith(Rect, Rect)
Determines whether given rectangle intersects with the current.
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
target
The target.
element
The element.
Returns
True if is ancestor.
Transform(GeneralTransform, Size)
Transforms the specified value using current general transform.
Declaration
public static Size Transform(this GeneralTransform generalTransform, Size value)
Parameters
generalTransform
The general transform.
value
The value.
Returns
The transformed value.
Transform(GeneralTransform, double)
Transforms the specified value using current general transform.
Declaration
public static double Transform(this GeneralTransform generalTransform, double value)
Parameters
generalTransform
The general transform.
value
The value.
Returns
The transformed value.