Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.28 KB

canvas_top.md

File metadata and controls

28 lines (17 loc) · 1.28 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.Canvas.Top
winrt attachedproperty

Windows.UI.Xaml.Controls.Canvas.Top

-description

Gets or sets the distance between the top of an element and the top of its parent Canvas.

-remarks

The Top value is the vertical offset between the top edge of the parent Canvas and where the target element should be placed. You typically specify positive integer numbers. Non-integer Double values are allowed but can potentially cause subpixel rendering issues; see UIElement.UseLayoutRounding.

A Canvas.Top value is interpreted by the most immediate parent Canvas element from where the value is set. The value is used along with Canvas.Left to specify the layout characteristics of each child element of a Canvas.

-see-also

XAML attached properties

-examples