Custom Cursor for ContainerSplitter

Docking/MDI for WPF Forum

Posted 10 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 10 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 8 years ago by IneedHelp
Avatar

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

Posted 8 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 (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.