public Fluent.Button CreateRibbonButton()
        {
            Fluent.Button button = new Fluent.Button();
            FooCommand1 fooCommand1 = new FooCommand1();
            button.Command = fooCommand1.ItemCommand;

            button.Header = "Foo";

            this.CommandBindings.Add(fooCommand1.ItemCommandBinding);
            return button;
        }
        public Fluent.Button CreateRibbonButton()
        {
            Fluent.Button button      = new Fluent.Button();
            FooCommand1   fooCommand1 = new FooCommand1();

            button.Command = fooCommand1.ItemCommand;

            button.Header = "Foo";

            this.CommandBindings.Add(fooCommand1.ItemCommandBinding);
            return(button);
        }
        public Button CreateRibbonButton()
        {
            var button      = new Button();
            var fooCommand1 = new FooCommand1();

            button.Command = fooCommand1.ItemCommand;

            button.Header = "Foo";

            this.CommandBindings.Add(fooCommand1.ItemCommandBinding);
            return(button);
        }
        public Button CreateRibbonButton()
        {
            var fooCommand1 = new FooCommand1();

            var button = new Button
            {
                Command   = fooCommand1.ItemCommand,
                Header    = "Foo",
                Icon      = new BitmapImage(new Uri(@"Images\Green.png", UriKind.Relative)),
                LargeIcon = new BitmapImage(new Uri(@"Images\GreenLarge.png", UriKind.Relative)),
            };

            this.CommandBindings.Add(fooCommand1.ItemCommandBinding);
            return(button);
        }