Silverlight SDK for Microsoft Bing
LayoutHelper Class
OverviewSystem.WindowsLayoutHelper
Implements a static utility class for manipulating layout in UIElement-derived objects.
Declaration Syntax
C#Visual BasicVisual C++
public class LayoutHelper
Public Class LayoutHelper
public ref class LayoutHelper
Members
All MembersConstructorsMethods



IconMemberDescription
LayoutHelper()()()
AlignVisualBounds(UIElement, Size, Rect, AlignmentX, AlignmentY)
Aligns a UIElement instance within a given rectangle, and based on a specific size.

Equals(Object)
Determines whether the specified Object is equal to the current 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()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
LayoutHelper

Assembly: System.Windows.Controls.Views.Toolkit (Module: System.Windows.Controls.Views.Toolkit) Version: 1.0.0.0 (1.0.0.0)