Represents extension methods.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Utilities
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
C#
public static class ExtensionMethodsSpreadsheet
Inheritance: objectExtensionMethodsSpreadsheet
Methods
Gets the bounds relative to the current framework element.
C#
public static Rect? GetBoundsRelativeTo(this FrameworkElement element, UIElement otherElement)
The element.
otherElementUIElementThe other element.
Returns:Rect?
Rectangle that represents the bounds.
Determines whether the element is ancestor of the current UI element.
C#
public static bool IsAncestorOf(this UIElement target, DependencyObject element)
The target.
elementDependencyObjectThe element.
Returns:True if is ancestor.
Transforms the specified value using current general transform.
C#
public static double Transform(this GeneralTransform generalTransform, double value)
The general transform.
valuedoubleThe value.
Returns:The transformed value.
Transforms the specified value using current general transform.
C#
public static Size Transform(this GeneralTransform generalTransform, Size value)
The general transform.
valueSizeThe value.
Returns:The transformed value.