Canvas.TopProperty 属性

定义

标识 Canvas.Top XAML 附加属性。

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

属性值

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

属性

注解

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

适用于

另请参阅