A cross-platform UI framework for .NET
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.
 
 
 

66 lines
2.4 KiB

// <auto-generated />
namespace TestNs
{
partial class MyControl
{
#nullable enable annotations
/// <summary>
/// Defines the <see cref="First"/> property.
/// </summary>
public static readonly global::Avalonia.StyledProperty<bool> FirstProperty =
global::Avalonia.AvaloniaProperty.Register<global::TestNs.MyControl, bool>(nameof(First));
public partial bool First
{
get => GetValue(FirstProperty);
set => SetValue(FirstProperty, value);
}
#nullable restore annotations
#nullable enable annotations
/// <summary>
/// Defines the <see cref="Second"/> property.
/// </summary>
public static readonly global::Avalonia.StyledProperty<bool> SecondProperty =
global::Avalonia.AvaloniaProperty.Register<global::TestNs.MyControl, bool>(nameof(Second));
public partial bool Second
{
get => GetValue(SecondProperty);
set => SetValue(SecondProperty, value);
}
#nullable restore annotations
#nullable enable annotations
/// <summary>
/// Defines the <see cref="Text"/> property.
/// </summary>
public static readonly global::Avalonia.DirectProperty<global::TestNs.MyControl, string> TextProperty =
global::Avalonia.AvaloniaProperty.RegisterDirect<global::TestNs.MyControl, string>(nameof(Text), static o => o.Text, static (o, v) => o.Text = v);
public partial string Text
{
get => field;
set => SetAndRaise(TextProperty, ref field, value);
}
#nullable restore annotations
#nullable enable annotations
/// <summary>
/// Defines the <c>Order</c> attached property.
/// </summary>
public static readonly global::Avalonia.AttachedProperty<int> OrderProperty =
global::Avalonia.AvaloniaProperty.RegisterAttached<global::TestNs.MyControl, global::Avalonia.Visual, int>("Order");
public static partial int GetOrder(global::Avalonia.Visual element)
=> element.GetValue(OrderProperty);
/// <summary>
/// Sets the value of the <see cref="OrderProperty"/> attached property on the specified object.
/// </summary>
public static void SetOrder(global::Avalonia.Visual element, int value)
=> element.SetValue(OrderProperty, value);
#nullable restore annotations
}
}