Implements a static utility class for manipulating layout in UIElement-derived objects.

C# | Visual Basic | Visual C++ |
public class LayoutHelper
Public Class LayoutHelper
public ref class LayoutHelper

All Members | Constructors | Methods | |||
Icon | Member | Description |
---|---|---|
![]() | LayoutHelper()()() | |
![]() ![]() | AlignVisualBounds(UIElement, Size, Rect, AlignmentX, AlignmentY) |
Aligns a UIElement instance within a given rectangle, and based on a specific size.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() ![]() | GetBounds(UIElement) |
Gets the bounds of a UIElement instance, relative to its parent container.
|
![]() | GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() ![]() | SetVisualBounds(UIElement, Rect) |
Sets the Canvas.Left, Canvas.Top, Width and Height for a given UIElement instance.
|
![]() ![]() | SetVisualBounds(UIElement, Double, Double, Double, Double) |
Sets the Canvas.Left, Canvas.Top, Width and Height for a given UIElement instance.
|
![]() ![]() | SetVisualLocation(UIElement, Double, Double) |
Sets the Canvas.Left and Canvas.Top dependency properties for a UIElement instance.
|
![]() | ToString()()() | (Inherited from Object.) |

Object | |
![]() | LayoutHelper |