Have a Question?
Categories
Print

GUI PowerShell – ListBox avec séléction multiple


Il faut ajouter: SelectionMode= »Extended » dans les attributs de la ListBox pour pouvoir faire de la sélection multiple avec la touche CTRL.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<ListBox Name="Box_ListApps" SelectionMode="Extended" HorizontalAlignment="Left" Height="313" Margin="445,156,0,0" VerticalAlignment="Top" Width="233"/>
<ListBox Name="Box_ListApps" SelectionMode="Extended" HorizontalAlignment="Left" Height="313" Margin="445,156,0,0" VerticalAlignment="Top" Width="233"/>
<ListBox Name="Box_ListApps" SelectionMode="Extended" HorizontalAlignment="Left" Height="313" Margin="445,156,0,0" VerticalAlignment="Top" Width="233"/>