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
250
UnboundField Display a complex property in XAML
posted

Below code works, but I don't want a combo editor. I want to be able to do this in a unbound field(non-editor text block). Can you please help here ?

<igDP:XamDataGrid DataSource="{Binding Path=AccData}"....>

.

.

.

.

<igDP:UnboundField BindingPath="Id".... >

<igDP:Field.Settings>

<igDP:FieldSettings EditorType="{x:Type igEditors:XamComboEditor}" >

<igDP:FieldSettings.EditorStyle>

<Style TargetType="{x:Type igEditors:XamComboEditor}">

<Setter Property="ItemsSource" Value="{Binding DataItem.Types}"/>

<Setter Property="DisplayMemberPath" Value="Name"/>

<Setter Property="ValuePath" Value="IntID"/>

</Style>

</igDP:FieldSettings.EditorStyle>

</igDP:FieldSettings>

</igDP:Field.Settings>

</igDP:UnboundField>

</igDP:XamDataGrid> 

Parents
No Data
Reply
  • 27093
    posted

    Hello,

     

    I have been looking into you issue and just wanted to make sure I have understood you correctly. You want to have an UnboundField with a XamComboEditor that has a non-editable TextBox in the cell and can only be edited by using its DropDown.

     

    Please let me know if I have misunderstood you and/or I have missed something out.

     

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support

     

     

Children