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
1315
UltraCombo Box in WPF
posted

Which control should I use in WPF browser application to get multi column Combo Box?

Thanks

Shivangi

Parents
No Data
Reply
  • 27093
    posted

    Hello Shivangi,

     

    I have been looking into your enquiry and since there is no such built-in functionality I can suggest you start off with the XamComboEditor and use its ComboBoxStyle property to set a style that can retemplate your items to your liking. Here is a sample xaml snippet you can check out:

     

    <igEditors:XamComboEditor … >

        <igEditors:XamComboEditor.ComboBoxStyle>

            <Style TargetType="ComboBox">

                <Setter Property="ItemTemplate" >

                    <Setter.Value>

                        <DataTemplate >

                            <StackPanel Orientation="Horizontal" Background="YellowGreen" >

                                <TextBox Width="60" Margin="1" />

                                <TextBox Width="60" Margin="1" />

                                <TextBox Width="60" Margin="1" />

                            </StackPanel>

                        </DataTemplate>

                    </Setter.Value>

                </Setter>

            </Style>

        </igEditors:XamComboEditor.ComboBoxStyle>

    </igEditors:XamComboEditor>

     

    Hope this helps. Please let me know if you require any further assistance or clarification on the matter.

     

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support

     

Children