Welcome to the Xceed Community | Help
Community Search  
More Search Options

ForeignKeyConfiguration and editable ComboBox

Sort Posts: Previous Next
  •  06-01-2012, 2:07 PM Post no. 32202

    ForeignKeyConfiguration and editable ComboBox

    Hi!

    I have the default style for comboBoxes: 
    <Style TargetType="{x:Type ComboBox}">
            <Setter Property="IsEditable" Value="True" />
    </Style>
     
    And the following ForeignKeyConfiguration for my column:
    <xcdg:ForeignKeyConfiguration x:Key="MyForeignKeyConfiguration" 
              ItemsSource="{Binding MySource}"
              DisplayMemberPath="Name" ValuePath="Id"/> 
     
    The combobox rendered doesn't show the name of selected item, but the class name instead.
    If IsEditable property is set to false, the name is displayed normally.

    Any thing that I have missed?
    Thanks a lot!

    Daniel
  •  06-07-2012, 11:49 AM Post no. 32217 in reply to 32202

    Re: ForeignKeyConfiguration and editable ComboBox

    Everything is ok with ForeingKeyConfiguration and editables ComboBoxes.
    The issue was a broken style. My fault!

    Thanks!
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.