question

DINESHKUDALE-0217 avatar image
0 Votes"
DINESHKUDALE-0217 asked DINESHKUDALE-0217 edited

How can I find x, y, width & height of Avalondock LayoutDocument tab using WPF C#?

I am using WPF C#. Inside my MainWindow, I have used Ribbon control inside the first row and AvalonDock control inside the second row. I want to find x, y co-ordinate of the starting point of LayoutDocument tab from screen (0,0) point. I also want to find the width & height of Avalondock LayoutDocument ? Please refer attached image.105507-xyhw.png

dotnet-csharpwindows-wpf
xywh2.png (191.9 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DINESHKUDALE-0217
Could you show me more detailed info of your Avalondock LayoutDocument tab? I am little confused of what your X and Y measure? Please show me description to analyze your question.

0 Votes 0 ·

@DaisyTian-MSFT
I want to draw my third-party control over the 'Block1' tab. It will start to draw from the top-left corner of the 'Block1' tab. It will also take the width & height of the 'Block1' tab.

0 Votes 0 ·

0 Answers