Canvas.Left 附加属性

定义

获取或设置一个值,该值表示元素左侧与其父 Canvas 左侧之间的距离。Gets or sets a value that represents the distance between the left side of an element and the left side of its parent Canvas.

see GetLeft, and SetLeft
see GetLeft, and SetLeft
see GetLeft, and SetLeft

注解

子元素 Left 偏移量不会影响父 Canvas的大小。The Left offset of a child element does not affect the size of a parent Canvas.

如果指定这些属性,则附加属性 Canvas.TopCanvas.Left 优先于 Canvas.BottomCanvas.Right 属性。If you specify them, the attached properties Canvas.Top or Canvas.Left take priority over Canvas.Bottom or Canvas.Right properties.

依赖项属性信息Dependency Property Information

标识符字段Identifier field LeftProperty
元数据属性设置为 trueMetadata properties set to true None

适用于

另请参阅