ComponentOne CalendarView for WinForms
C1.Win.C1Input Namespace / C1ComboBox Class / AllowPreload Property

In This Topic
    AllowPreload Property
    In This Topic
    Gets or sets a value that indicates whether C1ComboBox should preload items into the dropdown form after setting the data source. The default value is false which means that all items will be loaded at first drop-down opening.
    Syntax
    'Declaration
     
    
    Public Property AllowPreload As Boolean
    public bool AllowPreload {get; set;}
    Remarks
    Set this value to true if you want to optimize drop-down opening time for a lot of items. Keep default value if you want to optimize form loading time. The C1ComboBox does not support preloading items when the ItemsImageList property is set for C1ComboBox.
    If you change these properties, then C1ComboBox will clear the preloaded items: System.Windows.Forms.Control.RightToLeft, ItemMode, HtmlPattern, ItemsDisplayMember, Style, System.Windows.Forms.ComboBox.DropDownWidth.
    See Also