Hi Niels van Strien,
Thank you for contacting Syncfusion support.
Query 1: “Is it possible open/close usercontrols in the dockingmanager when clicking different ribbontabs/buttons?”
We've checked your query. You can achieve this requirement of “open/close usercontrols in the dockingmanager when clicking different ribbontabs/buttons” by using the Ribbon.SelectedIndexChanged event, we can display the window while switch the tabs. For further reference please refer to the below sample.
Query 2: “when hovering the mouse over the default WPF textblock/selecting the textblock in the same manner as SFTreeView”
We can achieve your requirement by using below code snippet.
Code snippet:
<TextBlock x:Name="Index123" Text="123" Grid.Row="0" Margin="2 1 2 1" FontSize="10" HorizontalAlignment="Center" VerticalAlignment="Center" Width="20" Height="20">
<TextBlock.Style>
<Style TargetType="{x:Type TextBlock}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="Red"/>
</Trigger>
</Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>
|
If we have misunderstood any of your query, please let us know and share some more information based on your requirement. Which would be helpful for us to let you a solution as soon as possible.
Regards,
Anirudhan