diff --git a/src/Avalonia.Controls/SplitButton/SplitButton.cs b/src/Avalonia.Controls/SplitButton/SplitButton.cs
deleted file mode 100644
index 5c75a8d09d..0000000000
--- a/src/Avalonia.Controls/SplitButton/SplitButton.cs
+++ /dev/null
@@ -1,735 +0,0 @@
-using System;
-using System.Reactive.Disposables;
-using System.Windows.Input;
-using Avalonia.Controls.Metadata;
-using Avalonia.Controls.Primitives;
-using Avalonia.Input;
-using Avalonia.Interactivity;
-using Avalonia.LogicalTree;
-
-namespace Avalonia.Controls
-{
- ///
- /// A button with primary and secondary parts that can each be pressed separately.
- /// The primary part behaves like a and the secondary part opens a flyout.
- ///
- [PseudoClasses(
- pcDisabled,
- pcSecondaryButtonRight,
- pcSecondaryButtonSpan,
- pcCheckedFlyoutOpen,
- pcFlyoutOpen,
- pcCheckedTouchPressed,
- pcChecked,
- pcCheckedPrimaryPressed,
- pcCheckedPrimaryPointerOver,
- pcCheckedSecondaryPressed,
- pcCheckedSecondaryPointerOver,
- pcTouchPressed,
- pcPrimaryPressed,
- pcPrimaryPointerOver,
- pcSecondaryPressed,
- pcSecondaryPointerOver)]
- public class SplitButton : ContentControl, ICommandSource
- {
- private const string pcDisabled = ":disabled";
-
- private const string pcSecondaryButtonRight = ":secondary-button-right";
- private const string pcSecondaryButtonSpan = ":secondary-button-span";
-
- private const string pcCheckedFlyoutOpen = ":checked-flyout-open";
- private const string pcFlyoutOpen = ":flyout-open";
-
- private const string pcCheckedTouchPressed = ":checked-touch-pressed";
- private const string pcChecked = ":checked";
- private const string pcCheckedPrimaryPressed = ":checked-primary-pressed";
- private const string pcCheckedPrimaryPointerOver = ":checked-primary-pointerover";
- private const string pcCheckedSecondaryPressed = ":checked-secondary-pressed";
- private const string pcCheckedSecondaryPointerOver = ":checked-secondary-pointerover";
-
- private const string pcTouchPressed = ":touch-pressed";
- private const string pcPrimaryPressed = ":primary-pressed";
- private const string pcPrimaryPointerOver = ":primary-pointerover";
- private const string pcSecondaryPressed = ":secondary-pressed";
- private const string pcSecondaryPointerOver = ":secondary-pointerover";
-
- ///
- /// Raised when the user presses the primary part of the .
- ///
- public event EventHandler Click
- {
- add => AddHandler(ClickEvent, value);
- remove => RemoveHandler(ClickEvent, value);
- }
-
- ///
- /// Defines the event.
- ///
- public static readonly RoutedEvent ClickEvent =
- RoutedEvent.Register(
- nameof(Click),
- RoutingStrategies.Bubble);
-
- ///
- /// Defines the property.
- ///
- public static readonly DirectProperty CommandProperty =
- AvaloniaProperty.RegisterDirect(
- nameof(Command),
- splitButton => splitButton.Command,
- (splitButton, command) => splitButton.Command = command,
- enableDataValidation: true);
-
- ///
- /// Defines the property.
- ///
- public static readonly StyledProperty