Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
582
xamComboEditor for displaying images
posted
<Editors:XamComboEditor Width="50" ComboBoxStyle="{StaticResource BrandStyle}" ValueType="{x:Type System:String}" Value="{Binding Path=BrandName}" VerticalAlignment="Center">
    <Editors:XamComboEditor.ItemsProvider>
        <Editors:ComboBoxItemsProvider ItemsSource="{Binding Path=BrandList, Mode=Default, Source={StaticResource BrandCollectionDS}}" ValuePath="BrandName" />
    </Editors:XamComboEditor.ItemsProvider>
</Editors:XamComboEditor>

the ComboBox above displays images (which works). But once an Image is selected and focus is lost, the selected image dissapears and is replaced with the member defined in "DisplayMemberPath" property. but i don't want to display a member, I want to display the selected image. And even if DisplayMemberPath is omitted, it still shows a text string ( wich now comes form the ToString() method)..

Is it possible not showing text at all? 

 /Carl 

Parents Reply Children
No Data