I would like to remove the border and the dropdown arrow from the combobox so I can just use this as a lookup column (display a name from an ID). I am halfway there.. this makes the border disappear but the dropdown arrow is still there. Also the background is not transparent, it's white which means if you have alternating colored rows the background shows up every other row. How can I accomplish this?
<Style x:Key="ComboBoxStyle" TargetType="ComboBox"> <Setter Property="BorderThickness" Value="0" /><Setter Property="Background" Value="Transparent" /><Setter Property="Foreground" Value="Black" /></Style>
</Style>
Hello Greg,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I copied the default Style of the ComboBox from MSDN and removed the toggle button from its Template. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.