Quantcast
Channel: Adding Button in StatusBar !
Viewing all articles
Browse latest Browse all 23

Adding Button in StatusBar !

$
0
0

 

Even with System.Windows.Controls.Primitives.StatusBarI did

           this.statusBar = new System.Windows.Controls.Primitives.StatusBar();
           this.statusBar.VerticalAlignment = VerticalAlignment.Bottom;
           this.statusBar.Visibility = Visibility.Visible;

 

            this.buttonOK= new System.Windows.Controls.Button();
            this.buttonOK.Content = "Generate Output";
            this.buttonOK.Margin = new Thickness(0, 0, 0, 0);

            this.statusBar.Items.Add(this.buttonOK);
            this.canvas.Children.Add(this.statusBar);

Now it takes button (So first part is done) but this status bar appears on top left corner and not at the bottom...


Viewing all articles
Browse latest Browse all 23

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>