csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.6 KiB
49 lines
1.6 KiB
// <auto-generated />
|
|
|
|
namespace TestNs
|
|
{
|
|
partial class MyControl
|
|
{
|
|
#nullable enable annotations
|
|
/// <summary>
|
|
/// Defines the <see cref="Width"/> property.
|
|
/// </summary>
|
|
public static readonly global::Avalonia.StyledProperty<double> WidthProperty =
|
|
global::Avalonia.AvaloniaProperty.Register<global::TestNs.MyControl, double>(nameof(Width), defaultValue: (double)(100));
|
|
|
|
public partial double Width
|
|
{
|
|
get => GetValue(WidthProperty);
|
|
set => SetValue(WidthProperty, value);
|
|
}
|
|
#nullable restore annotations
|
|
|
|
#nullable enable annotations
|
|
/// <summary>
|
|
/// Defines the <see cref="Height"/> property.
|
|
/// </summary>
|
|
public static readonly global::Avalonia.StyledProperty<double> HeightProperty =
|
|
global::Avalonia.AvaloniaProperty.Register<global::TestNs.MyControl, double>(nameof(Height), defaultValue: double.NaN);
|
|
|
|
public partial double Height
|
|
{
|
|
get => GetValue(HeightProperty);
|
|
set => SetValue(HeightProperty, value);
|
|
}
|
|
#nullable restore annotations
|
|
|
|
#nullable enable annotations
|
|
/// <summary>
|
|
/// Defines the <see cref="Tag"/> property.
|
|
/// </summary>
|
|
public static readonly global::Avalonia.StyledProperty<object?> TagProperty =
|
|
global::Avalonia.AvaloniaProperty.Register<global::TestNs.MyControl, object?>(nameof(Tag), defaultValue: (object?)(""));
|
|
|
|
public partial object? Tag
|
|
{
|
|
get => GetValue(TagProperty);
|
|
set => SetValue(TagProperty, value);
|
|
}
|
|
#nullable restore annotations
|
|
}
|
|
}
|
|
|