Telerik.Web.Mvc.UI.DropDownList.DropDownList C# (CSharp) Méthode

DropDownList() public méthode

public DropDownList ( System.Web.Mvc.ViewContext viewContext, IClientSideObjectWriterFactory clientSideObjectWriterFactory, IUrlGenerator urlGenerator ) : System.Collections.Generic
viewContext System.Web.Mvc.ViewContext
clientSideObjectWriterFactory IClientSideObjectWriterFactory
urlGenerator IUrlGenerator
Résultat System.Collections.Generic
        public DropDownList(ViewContext viewContext, IClientSideObjectWriterFactory clientSideObjectWriterFactory, IUrlGenerator urlGenerator)
            : base(viewContext, clientSideObjectWriterFactory)
        {
            ScriptFileNames.AddRange(new[] { "telerik.common.js", "telerik.list.js" });

            UrlGenerator = urlGenerator;

            ClientEvents = new DropDownClientEvents();
            DataBinding = new DropDownListDataBindingConfiguration();
            DropDownHtmlAttributes = new RouteValueDictionary();

            Effects = new Effects();
            defaultEffects.Each(el => Effects.Container.Add(el));

            Items = new List<DropDownItem>();
            SelectedIndex = 0;
        }