Note: This document is auto-generated by
scripts/generate_control_reference_docs.py. Do not edit manually.
Avalonia.Controls.SplitButtonAvalonia.ControlsAvalonia.Controlssrc/Avalonia.Controls/SplitButton/SplitButton.csContentControl, IClickableControl, ICommandSourcecontrolpublic event EventHandler<RoutedEventArgs>? Click {public static readonly RoutedEvent<RoutedEventArgs> ClickEvent = RoutedEvent.Register<SplitButton, RoutedEventArgs>( nameof(Click), RoutingStrategies.Bubble);public static readonly StyledProperty<ICommand?> CommandProperty = Button.CommandProperty.AddOwner<SplitButton>();public static readonly StyledProperty<object?> CommandParameterProperty = Button.CommandParameterProperty.AddOwner<SplitButton>();public static readonly StyledProperty<FlyoutBase?> FlyoutProperty = Button.FlyoutProperty.AddOwner<SplitButton>();public static readonly StyledProperty<KeyGesture?> HotKeyProperty = Button.HotKeyProperty.AddOwner<SplitButton>();public SplitButton() {public ICommand? Command {public object? CommandParameter {public FlyoutBase? Flyout {public KeyGesture? HotKey {<SplitButton x:Name="SampleSplitButton" />
using Avalonia.Controls;
var control = new SplitButton();