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

Namespace: Telerik.WinControls.UI.Diagrams
Assembly: Telerik.WinControls.RadDiagram (in Telerik.WinControls.RadDiagram.dll) Version: 2018.3.911.40 (2018.3.911.40)
public static void SetLayout(
	this FrameworkElement element,
	Rect rect


Type: Telerik.WinControls.UI.DiagramsFrameworkElement
The element.
Type: Telerik.Windows.Diagrams.CoreRect
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