Edit

Share via


Canvas.Top Attached Property

Definition

Gets or sets a value that represents the distance between the top of an element and the top of its parent Canvas.

see GetTop, and SetTop
see GetTop, and SetTop
see GetTop, and SetTop

Remarks

The Top offset of a child element does not affect the size of a parent Canvas.

If you specify them, the attached properties Canvas.Top or Canvas.Left take priority over Canvas.Bottom or Canvas.Right.

Dependency Property Information

Identifier field TopProperty
Metadata properties set to true None

Applies to

See also