This is a migrated thread and some comments may be shown as answers.

Custom cursor is ignored in the title area

4 Answers 84 Views
Window
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 18 Aug 2016, 01:35 PM
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?

4 Answers, 1 is accepted

Sort by
0
Accepted
Nasko
Telerik team
answered on 22 Aug 2016, 09:26 AM
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
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
Nasko
Telerik team
answered on 07 Nov 2016, 07:10 AM
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
Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
Tags
Window
Asked by
Greg
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Greg
Top achievements
Rank 1
Share this question
or