Export (0) Print
Expand All

Canvas.Right Attached Property

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

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

See GetRight, SetRight
<object Canvas.Right="double" .../>

Property Value

Type: System.Double
A Double that represents the offset position from the right side of a parent Canvas. The default value is NaN.

Identifier field

RightProperty

Metadata properties set to true

None

The Canvas.Right 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 properties.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft