This project has moved. For the latest updates, please go here.

templating the selecton of checkboxCombo

Aug 24, 2015 at 3:11 PM
Hi,

is it possible to template the selected items displayed on top to have a tokens combobox ?

something like this
Image

thanks and good day
Developer
Aug 24, 2015 at 7:41 PM
Hi,

Currently no. The CheckComboBox as a TextBox where its Text property is binded to CheckComboBox.Text property. So no templating is available here.
But since v2.4, the Extended WPF Toolkit has a new controls for the "Plus users": the TokenizedTextBox. It lets users customizes the tokens to display something like you want. Please try the sample "InputFields/Text/TokenizedTextBox" from the "LiveExplorer App" available here : https://wpftoolkit.codeplex.com/.

If you want to be able to use the tokenizedTextBox, please visit this page : http://wpftoolkit.codeplex.com/wikipage?title=Compare%20Editions

Thanks.
Aug 24, 2015 at 9:25 PM
ok, thanks for the information .
Dec 18, 2015 at 3:35 PM
Is it possible to just labelize the items in combo without deleted button ?
Or just wrap the text at delemiter ?
Developer
Dec 21, 2015 at 1:21 PM
Hi,

By default, the CheckComboBox uses a readOnly TextBox to display the selected items (and no delete buttons). So the selected items displayed in the checkComboBox are like labels.
If you want to modify the CheckComboBox's template, go in file
-Xceed.Wpf.Toolkit/CheckComboBox/Themes/Aero2.NormalColor.xaml (for Windows 8)
-Xceed.Wpf.Toolkit/CheckComboBox/Themes/Generic.xaml (for other Windows)
Dec 21, 2015 at 1:44 PM
Edited Dec 21, 2015 at 1:45 PM
thank you,

But where can I find this repository ? (i'm on Windows 8.1)
I installed Xceed with NuGet on Visual Studio.
Developer
Dec 21, 2015 at 4:11 PM
Hi,

Using NuGet, you will obtain the needed dlls.
But to modify them, you will need the source code and recompile it. You can find it in the "SourceCode" Tab of this CodePlex site.