Canvas.TopProperty 属性

定义

标识 Canvas.Top XAML 附加属性。

public:
 static property DependencyProperty ^ TopProperty { DependencyProperty ^ get(); };
/// [Microsoft.UI.Xaml.Media.Animation.IndependentlyAnimatable]
/// [get: Microsoft.UI.Xaml.Media.Animation.IndependentlyAnimatable]
static DependencyProperty TopProperty();
[Microsoft.UI.Xaml.Media.Animation.IndependentlyAnimatable]
public static DependencyProperty TopProperty { [Microsoft.UI.Xaml.Media.Animation.IndependentlyAnimatable] get; }
var dependencyProperty = Canvas.topProperty;
Public Shared ReadOnly Property TopProperty As DependencyProperty

属性值

Canvas.Top XAML 附加属性的标识符。

属性

注解

此属性只是属性系统的标识符,在大多数应用方案中不使用。 在大多数情况下,在 XAML 中设置 Canvas.Top XAML 附加属性,不需要此标识符。

适用于

另请参阅