Hi,
I want to change caret image in syntax editor by image of wait cursor (or specific image) , is there a property to do that ?
Best regards
Hi,
I want to change caret image in syntax editor by image of wait cursor (or specific image) , is there a property to do that ?
Best regards
Hi Boris,
The mouse cursor gets set on a low-level internal object that isn't directly accessible publicly. You might be best off covering the SyntaxEditor with a Rectangle that has a Transparent background and a Cursor set when this state is needed. Then remove that (or make its backgrond be null) when out of the wait state.
Hi,
I understand the principle but have you some code or example in sample browser using this principle ?
Best regards
Boris
Hello, I mean something like this:
<Grid>
<editor:SyntaxEditor />
<Rectangle x:Name="cursorLayer" Background="Transparent" Cursor="Hand" Visibility="Collapsed" />
</Grid>
Then just change the cursorLayer Visibility when appropriate.
Hi,
I applied your solution but my case was a little more complicated because my XAML document has several levels of nesting.
<dockpanel
<shared:PixelSnapper
<shared:PixelSnapper
<docking:docksite
<docking:split container
but solution works very well
Thanks a lot
Please log in to a validated account to post comments.