Hello. If I set a custom cursor to a RadWindow, when I hover the pointer over the title area of the window, the custom cursor isn;t displayed, instead the standard arrow cursor is shown.
Is there a way to have the custom cursor displayed in the title area as well?
Is there a way to have the custom cursor displayed in the title area as well?
4 Answers, 1 is accepted
0
Accepted
Hi Greg,
The observed behavior is an expected one and could be observed with the native WPF Window as well - the Cursor is not expected to be visualized in the Header.
The cursor does not get visualized in the Header part of the control because it has a CaptionHeight set. This Height determines the caption area of the control and without it the drag and drop of the Window will not be possible - if you set the CaptionHeight to 0 you will notice that the Cursor will appear. Changing the CaptionHeight is not recommended because it could affect the drag and drop behavior.
Hope the provided information will be helpful for you.
Regards,
Nasko
Telerik by Progress
The observed behavior is an expected one and could be observed with the native WPF Window as well - the Cursor is not expected to be visualized in the Header.
The cursor does not get visualized in the Header part of the control because it has a CaptionHeight set. This Height determines the caption area of the control and without it the drag and drop of the Window will not be possible - if you set the CaptionHeight to 0 you will notice that the Cursor will appear. Changing the CaptionHeight is not recommended because it could affect the drag and drop behavior.
Hope the provided information will be helpful for you.
Regards,
Nasko
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Greg
Top achievements
Rank 1
answered on 05 Nov 2016, 04:06 AM
Is there a way to access the RadWindow chrome elements (the window caption and window resize controls)?
I mean, the used cursors must be defined somewhere, can I get to that place and change the used cursors?
0
Greg
Top achievements
Rank 1
answered on 05 Nov 2016, 06:00 PM
Actually I solved this by setting the resize borders to 0 and adding my own resize logic through a control placed in the RadWindow template. Thank you for the previous tips.
0
Hello Greg,
I am glad to here you were able to achieve the desired and now everything is working as expected for you.
If you have any additional questions please, do not hesitate to contact us.
Regards,
Nasko
Telerik by Progress
I am glad to here you were able to achieve the desired and now everything is working as expected for you.
If you have any additional questions please, do not hesitate to contact us.
Regards,
Nasko
Telerik by Progress
Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!