Canvas.TopProperty 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
識別 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 附加屬性,而且不需要此識別碼。