//
namespace TestNs
{
partial class MyControl
{
#nullable enable annotations
///
/// Defines the property.
///
public static readonly global::Avalonia.DirectProperty SelectedIndexProperty =
global::Avalonia.AvaloniaProperty.RegisterDirect(nameof(SelectedIndex), static o => o.SelectedIndex);
private int _selectedIndex;
public partial int SelectedIndex
{
get => _selectedIndex;
private set => SetAndRaise(SelectedIndexProperty, ref _selectedIndex, value);
}
#nullable restore annotations
}
}