CommonExtensions
Class
Definition
Namespace:Telerik.WinControls.UI.Diagrams
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public static class CommonExtensions
Inheritance: objectCommonExtensions
Methods
Clears if set.
C#
public static bool ClearIfNoBindingAndSet(this RadObject dependencyObject, RadProperty dependencyProperty)
The dependency object.
dependencyPropertyRadPropertyThe dependency property.
Returns:Returns whether the container contains in its hierarchy the given item.
C#
public static bool Contains(this IContainerShape container, IDiagramItem item)
The container.
itemIDiagramItemThe item to test for.
Returns:Returns the full hierarchy of items contained in the container.
C#
public static IEnumerable<IDiagramItem> GetItemsRecursively(this IContainerShape container)
The container.
Returns:IEnumerable<IDiagramItem>
Determines whether a container has a selected child.
C#
public static bool HasSelectedChild(this IContainerShape container)
The container.
Returns:Sets the location in the element in Canvas.
C#
public static void SetLayout(this FrameworkElement element, Rect rect)
The element.
rectRectThe rectangle.
Sets the location in the element in Canvas.
C#
public static void SetLocation(this FrameworkElement element, double x, double y)
The element.
xdoubleThe x.
ydoubleThe y.
Sets the location in the element in Canvas.
C#
public static void SetLocation(this FrameworkElement element, Point point)
The element.
pointPointThe point.