FixedPage::SetBottom Method (UIElement^, Double)

 

Sets the distance between the bottom of an element and the bottom of its parent Canvas.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
static void SetBottom(
	UIElement^ element,
	double length
)

Parameters

element
Type: System.Windows::UIElement^

The element on which to set the bottom offset.

length
Type: System::Double

The new distance between the bottom side of the element and the bottom side of its parent canvas.

The child element's bottom offset does not affect the size of the parent canvas.

If both a top and a bottom offset have been specified on the same element, the top offset takes precedence.

When setting the bottom offset as a percentage, the percentage value is based on the size of the parent canvas.

.NET Framework
Available since 3.0
Return to top
Show: