bonjour voila je rencontre un probleme etonnant
avec le code suivant
Code xaml : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
 
<Window x:Class="test_listbox_et_tooltip.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        ShowInTaskbar="False"
        Topmost="false"
        AllowsTransparency="true"
        Background="{x:Null}"
        WindowStartupLocation="Manual"
        WindowStyle="None"
        Title="MainWindow" Height="350" Width="525">
    <Border CornerRadius="10"
            Background="Aqua">
        <Grid>
 
            <ListBox Height="179"
                 HorizontalAlignment="Left"
                 Margin="107,46,0,0"
                 Name="listBox1"
                 VerticalAlignment="Top"
                 Width="302"
                 ScrollViewer.HorizontalScrollBarVisibility="Hidden"
                 HorizontalContentAlignment="Stretch"
                 ItemsSource="{Binding .}">
            <ListBox.Resources>
                <SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}">Orange</SolidColorBrush>
                <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}">Orange</SolidColorBrush>
            </ListBox.Resources>
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <DockPanel>
                        <ToolTipService.ToolTip>
                            <ToolTip Content="zozozozozozozozozoz" />
                        </ToolTipService.ToolTip>
                        <TextBlock Text="{Binding Age}"
                                   DockPanel.Dock="Right"
                                   Width="40" />
                        <TextBlock Text="{Binding Name}" 
                                   />
                    </DockPanel>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
        <Button Content="Button"
                Height="58"
                HorizontalAlignment="Left"
                Margin="380,242,0,0"
                Name="button1"
                VerticalAlignment="Top"
                Width="118"
                Click="button1_Click" />
    </Grid>
    </Border>
</Window>

si la fenetre est en
AllowsTransparency="true"
les tooltip des listboxitem ne marche pas
mais si je colle
AllowsTransparency="false"
ben ca marche

Quelqu'un a deja vu ce probleme ?
si vous avez une solution simple je suis preneur
pour pas etre obligé de me faire un popup et de trigger son isopen sur un eventtrigger du mouseover ... lol

merci