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]
DependencyProperty TopProperty();
/// [get: Windows.UI.Xaml.Media.Animation.IndependentlyAnimatable]
/// [Windows.UI.Xaml.Media.Animation.IndependentlyAnimatable]
DependencyProperty TopProperty();
[get: Windows.UI.Xaml.Media.Animation.IndependentlyAnimatable]
public static DependencyProperty TopProperty { get; }
[get: Windows.UI.Xaml.Media.Animation.IndependentlyAnimatable]
[Windows.UI.Xaml.Media.Animation.IndependentlyAnimatable]
public static DependencyProperty TopProperty { get; }
var dependencyProperty = Canvas.topProperty;
Public Shared ReadOnly Property TopProperty As DependencyProperty
Property Value
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.