2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
Get location of a barThe CommandBar.Location property helps to get the location of a Bar with respect to screen. Please refer the below code snippet which illustrates this: C# private void button1_Click(object sender, EventArgs e) { CommandBar cbe = mainFrameBarManager1.GetBarControl(bar1); this.textBox1.Text=cbe.PointToScreen(cbe.Location).ToString(); } VB Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cbe As CommandBar = MainFrameBarManager1.GetBarControl(Bar1) Me.TextBox1.Text = cbe.PointToScreen(cbe.Location).ToString() End Sub Sample: http://help.syncfusion.com/support/samples/KB/Tools.Windows/TLocation/Location.zip |
2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.