0
Est-il possible de mettre un canevas à l'intérieur d'un ListBox en utilisant WPF?Mettre un canevas dans un ListBox
Est-il possible de mettre un canevas à l'intérieur d'un ListBox en utilisant WPF?Mettre un canevas dans un ListBox
En bref, oui. À peu près tout est possible avec WPF. Que voulez-vous dire spécifiquement?
échantillon Xaml:
<ListBox Name="lbFoo" HorizontalAlignment="Left" VerticalAlignment="Top" Width="300" Height="300" Background="Orange">
<Canvas Name="cnvFoo" Background="Green" Height="200" Width="200">
<Label Name="lblFoo">This is a Label in a Canvas</Label>
</Canvas>
</ListBox>