public DropDownButtonPage()
        {
            InitializeComponent();

            _flyout           = new Flyout();
            _flyout.Placement = FlyoutPlacementMode.Bottom;
            TextBlock textBlock = new TextBlock();

            textBlock.Text  = "New Flyout";
            _flyout.Content = textBlock;
            _flyout.Opened += TestDropDownButtonFlyout_Opened;
            _flyout.Closed += TestDropDownButtonFlyout_Closed;
        }
        public SplitButtonPage()
        {
            this.InitializeComponent();

            //SplitButtonTestApi.SimulateTouch = false;

            TestExecuteCommand = new MyCommand(this);

            _placementFlyout           = new Flyout();
            _placementFlyout.Placement = FlyoutPlacementMode.Bottom;
            TextBlock textBlock = new TextBlock();

            textBlock.Text           = "Placement Flyout";
            _placementFlyout.Content = textBlock;

            //ControlStateViewer.ControlType = TestSplitButton.GetType();
            //ControlStateViewer.States = new List<string>
            //{
            //    "Normal",
            //    "FlyoutOpen",
            //    "TouchPressed",
            //    "PrimaryPointerOver",
            //    "PrimaryPressed",
            //    "SecondaryPointerOver",
            //    "SecondaryPressed",
            //};

            //ToggleControlStateViewer.ControlType = TestSplitButton.GetType();
            //ToggleControlStateViewer.States = new List<string>
            //{
            //    "Checked",
            //    "CheckedFlyoutOpen",
            //    "CheckedTouchPressed",
            //    "CheckedPrimaryPointerOver",
            //    "CheckedPrimaryPressed",
            //    "CheckedSecondaryPointerOver",
            //    "CheckedSecondaryPressed",
            //};

            DataContext = this;
        }