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
425
UI Virtualization - XamComboEditor and VirtualizingStackPanel
posted

Hello,

in the default microsoft combobox, i can activate the ui virtualization setting the followed properties:

    <Style TargetType="{x:Type ComboBox}">
        <Setter Property="VirtualizingStackPanel.IsVirtualizing" Value="True" />
        <Setter Property="VirtualizingStackPanel.VirtualizationMode" Value="Recycling" />
        <Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="True" />
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <VirtualizingStackPanel IsItemsHost="True" />
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>

 

How can i do the same with XamComboEditor-Control?

 

thank you.

Parents
No Data
Reply
  • 69686
    posted

    Hello,

    I am not 100% sure, but I think that the ui virtualization of the XamComboEditor is enabled by default. However, the XamComboEditor exposes a ComboBoxStyle property, which you can use to set the style in your previous post just to be sure.

    HTH

Children