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
40
XamComboEditor with AllowMultipleSelection and CheckBoxVisibility inside XamDataGrid
posted

Hello all,

I have a problem with styles of XamComboEditor inside XamDataGrid. I'm using Infragistics for WPF version 15.1.20151.2008

If I try to add XamComboEditor from "http://infragistics.com/Editors" there are compile errors saying:
- Error The member "AllowMultipleSelection" is not recognized or is not accessible.
- Error Cannot find the Style Property 'AllowMultipleSelection' on the type 'Infragistics.Windows.Editors.XamComboEditor'.
- Error The member "CheckBoxVisibility" is not recognized or is not accessible.

On the other hand, if I use XamComboEditor from "http://schemas.infragistics.com/xaml" there is no compile time error, but there is a runtime error saying 
- FieldSettings.EditorType's must be set to a type that derives from ValueEditor. Parameter name: EditorType

Maybe some reference is missing? These libraries are referenced in the project: InfragisticsWPF4.Controls.Editors.XamComboEditor.v15.1, InfragisticsWPF4.DataPresenter.v15.1, InfragisticsWPF4.Editors.v15.1, InfragisticsWPF4.v15.1

The Code looks like this:

<igDataPresenter:Field Name="AllItems" Label="Items">
  <igDataPresenter:Field.Settings>
    <igDataPresenter:FieldSettings AllowEdit="True" EditorType="{x:Type igEditors:XamComboEditor}">
      <igDataPresenter:FieldSettings.EditorStyle>
        <Style TargetType="{x:Type igEditors:XamComboEditor}">
          <Setter Property="HorizontalAlignment" Value="Left"/>
          <Setter Property="AllowMultipleSelection" Value="True"/>
          <Setter Property="CheckBoxVisibility" Value="Visible"/>

Please advise.

Thank you in advance!
Jelena

Parents Reply Children