Click or drag to resize
CommonExtensionsSetLayout Method
Sets the location in the element in Canvas.

Namespace: Telerik.Windows.Controls.Diagrams
Assembly: Telerik.Windows.Controls.Diagrams (in Telerik.Windows.Controls.Diagrams.dll) Version: 2018.2.515.40 (2018.2.515.40)
Syntax
public static void SetLayout(
	this FrameworkElement element,
	Rect rect
)

Parameters

element
Type: System.WindowsFrameworkElement
The element.
rect
Type: System.WindowsRect
The rectangle.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FrameworkElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also