Canvas.TopProperty Property

Definition

Identifies the Canvas.Top XAML attached property.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Canvas.TopProperty.

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

Property Value

DependencyProperty

The identifier for the Canvas.Top XAML attached property.

Attributes

Remarks

This property is only an identifier for the property system, and isn't used in most app scenarios. In most cases you set the Canvas.Top XAML attached property in XAML and won't need this identifier.

Applies to

See also