Custom Cursor for ContainerSplitter

Docking/MDI for WPF Forum

Posted 5 years ago by Lukas Lober
Version: 14.2.0610
Avatar

Hey,

I´m trying to change the cursor of the ContainerSplitter with a style.

        <Style  TargetType="{x:Type docking:ContainerSplitter}">
            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Setter Property="Background" Value="Yellow" />
                    <Setter Property="Cursor" Value="None"/>
                </Trigger>
            </Style.Triggers>
        </Style>

 The background is changing if the mouse is over but the cursor is not.

What do I have to do to change the cursor, too?

Comments (3)

Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Lukas,

I'm sorry but there isn't an option to customize the splitter cursor.  It gets dynamically assigned internally by our code depending on its orientation and overrides anything you would set in a Trigger.


Actipro Software Support

Posted 3 years ago by IneedHelp
Avatar

It this still the case? or can the splittler cursor be customized now?

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Sorry but that's still the case.  The splitter is set in code-behind.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.