Class DropDownList
Represents the DropDownList UI Element.
Implements
System.Web.IHtmlString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class DropDownList : Control, IHtmlString
Constructors
DropDownList()
Initializes a new instance of the DropDownList class.
Declaration
public DropDownList()
DropDownList(String, DropDownListProperties)
Initializes a new instance of the DropDownList class.
Declaration
public DropDownList(string id, DropDownListProperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The identifier |
DropDownListProperties | propModel | The property model |
Properties
DropDownListModel
Gets or sets the DropDownList properties to the model.
Declaration
public DropDownListProperties DropDownListModel { get; set; }
Property Value
Type | Description |
---|---|
DropDownListProperties |
Model
Instance of the control properties class
Declaration
protected override object Model { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
PluginName
Gets the plugin name of the DropDownList element as 'ejDropDownList'.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TagName
Gets the tag name of the DropDownList element as 'input'.
Declaration
public override string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
CreateContainer(String)
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
RenderControl(String)
Declaration
public override void RenderControl(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Overrides
Implements
System.Web.IHtmlString