Class MobileDropDownListPropertiesBuilder
Inheritance
System.Object
MobileDropDownListPropertiesBuilder
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()
Assembly: Syncfusion.EJ.dll
Syntax
public class MobileDropDownListPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
MobileDropDownListPropertiesBuilder(DropDownList)
Declaration
public MobileDropDownListPropertiesBuilder(DropDownList mobileDropDownList)
Parameters
Methods
Declaration
public MobileDropDownListPropertiesBuilder AllowVirtualScrolling(bool allowVirtualScrolling)
Parameters
Type |
Name |
Description |
System.Boolean |
allowVirtualScrolling |
|
Returns
ClientSideEvents(Action<MobileDropDownListClientSideEventsBuilder>)
Section for client the side events.
Declaration
public MobileDropDownListPropertiesBuilder ClientSideEvents(Action<MobileDropDownListClientSideEventsBuilder> clientSideEvents)
Parameters
Returns
CssClass(String)
Specifies custom theme for the control.
Declaration
public MobileDropDownListPropertiesBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
The cssClass.
|
Returns
DataSource(DataSource)
Declaration
public MobileDropDownListPropertiesBuilder DataSource(DataSource dataSource)
Parameters
Returns
DataSource(Action<DataSourceBuilder>)
Declaration
public MobileDropDownListPropertiesBuilder DataSource(Action<DataSourceBuilder> dataSource)
Parameters
Returns
DataSource(IEnumerable)
Declaration
public MobileDropDownListPropertiesBuilder DataSource(IEnumerable dataSource)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
|
Returns
DelimiterChar(String)
Declaration
public MobileDropDownListPropertiesBuilder DelimiterChar(string delimiterChar)
Parameters
Type |
Name |
Description |
System.String |
delimiterChar |
|
Returns
Enabled(Boolean)
Declaration
public MobileDropDownListPropertiesBuilder Enabled(bool Enabled)
Parameters
Type |
Name |
Description |
System.Boolean |
Enabled |
|
Returns
EnableMultiSelect(Boolean)
Declaration
public MobileDropDownListPropertiesBuilder EnableMultiSelect(bool enableMultiSelect)
Parameters
Type |
Name |
Description |
System.Boolean |
enableMultiSelect |
|
Returns
EnablePersistence(Boolean)
Specifies to maintain the current model value to browser cookies for state maintenance. While refresh the page, the model value will get apply to the control from browser cookies.
Declaration
public MobileDropDownListPropertiesBuilder EnablePersistence(bool enablePersistence)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
if set to true [enable persistence].
|
Returns
Fields(Action<DropDownListFieldsPropertiesBuilder>)
Declaration
public MobileDropDownListPropertiesBuilder Fields(Action<DropDownListFieldsPropertiesBuilder> fieldsModel)
Parameters
Returns
ItemsCount(Int32)
Declaration
public MobileDropDownListPropertiesBuilder ItemsCount(int itemsCount)
Parameters
Type |
Name |
Description |
System.Int32 |
itemsCount |
|
Returns
Declaration
public MobileDropDownListPropertiesBuilder PopupHeight(string popupHeight)
Parameters
Type |
Name |
Description |
System.String |
popupHeight |
|
Returns
Declaration
public MobileDropDownListPropertiesBuilder PopupWidth(string popupWidth)
Parameters
Type |
Name |
Description |
System.String |
popupWidth |
|
Returns
Query(String)
Declaration
public MobileDropDownListPropertiesBuilder Query(string query)
Parameters
Type |
Name |
Description |
System.String |
query |
|
Returns
ReadOnly(Boolean)
Declaration
public MobileDropDownListPropertiesBuilder ReadOnly(bool readOnly)
Parameters
Type |
Name |
Description |
System.Boolean |
readOnly |
|
Returns
Render()
Declaration
RenderMode(RenderMode)
Specifies the rendering mode of the control.
Declaration
public MobileDropDownListPropertiesBuilder RenderMode(RenderMode renderMode)
Parameters
Type |
Name |
Description |
RenderMode |
renderMode |
The render mode.
|
Returns
SelectedItemIndex(Int32)
Declaration
public MobileDropDownListPropertiesBuilder SelectedItemIndex(int selectedItemIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
selectedItemIndex |
|
Returns
TargetId(String)
Declaration
public MobileDropDownListPropertiesBuilder TargetId(string targetId)
Parameters
Type |
Name |
Description |
System.String |
targetId |
|
Returns
TemplateId(String)
Declaration
public MobileDropDownListPropertiesBuilder TemplateId(string templateId)
Parameters
Type |
Name |
Description |
System.String |
templateId |
|
Returns
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
WaterMarkText(String)
Declaration
public MobileDropDownListPropertiesBuilder WaterMarkText(string waterMarkText)
Parameters
Type |
Name |
Description |
System.String |
waterMarkText |
|
Returns
Implements
System.Web.IHtmlString