Class MobileListViewPropertiesBuilder
Inheritance
System.Object
MobileListViewPropertiesBuilder
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 MobileListViewPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
MobileListViewPropertiesBuilder(MobileListView)
Declaration
public MobileListViewPropertiesBuilder(MobileListView MobileListView)
Parameters
Type |
Name |
Description |
MobileListView |
MobileListView |
The mobile listbox.
|
Methods
AllowSelection(Boolean)
Specifies whether to prevent the selection of the item.
Declaration
public MobileListViewPropertiesBuilder AllowSelection(bool allowSelection)
Parameters
Type |
Name |
Description |
System.Boolean |
allowSelection |
if set to true [prevent selection].
|
Returns
CheckedIndices(List<Double>)
Declaration
public MobileListViewPropertiesBuilder CheckedIndices(List<double> checkedIndices)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<System.Double> |
checkedIndices |
if set to true [checkedIndices].
|
Returns
ClientSideEvents(Action<MobileListViewClientSideEventsBuilder>)
Declaration
public MobileListViewPropertiesBuilder ClientSideEvents(Action<MobileListViewClientSideEventsBuilder> clientSideEvents)
Parameters
Returns
ContentTemplate(Action<MobileListViewProperties>)
Specifies the element contains template contents.
Declaration
public MobileListViewPropertiesBuilder ContentTemplate(Action<MobileListViewProperties> template)
Parameters
Returns
ContentTemplate(Func<MobileListViewProperties, Object>)
Specifies the element contains template contents.
Declaration
public MobileListViewPropertiesBuilder ContentTemplate(Func<MobileListViewProperties, object> template)
Parameters
Returns
CssClass(String)
Specifies custom theme for the control.
Declaration
public MobileListViewPropertiesBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
The cssClass.
|
Returns
DataSource(DataSource)
Specifies the datasource is enabled.
Declaration
public MobileListViewPropertiesBuilder DataSource(DataSource dataSource)
Parameters
Type |
Name |
Description |
DataSource |
dataSource |
The data source.
|
Returns
DataSource(Action<DataSourceBuilder>)
Specifies the datasource is enabled.
Declaration
public MobileListViewPropertiesBuilder DataSource(Action<DataSourceBuilder> dataSource)
Parameters
Returns
DataSource(IEnumerable)
Specifies the datasource is enabled.
Declaration
public MobileListViewPropertiesBuilder DataSource(IEnumerable dataSource)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
The data source.
|
Returns
DeleteMode(ListDeleteMode)
Declaration
public MobileListViewPropertiesBuilder DeleteMode(ListDeleteMode deleteMode)
Parameters
Returns
EnableChecklist(Boolean)
Specifies whether to enable Check list of the item.
Declaration
public MobileListViewPropertiesBuilder EnableChecklist(bool enableChecklist)
Parameters
Type |
Name |
Description |
System.Boolean |
enableChecklist |
if set to true [enableChecklist].
|
Returns
Enabled(Boolean)
Specifies whether to enabled List.
Declaration
public MobileListViewPropertiesBuilder Enabled(bool enabled)
Parameters
Type |
Name |
Description |
System.Boolean |
enabled |
|
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 MobileListViewPropertiesBuilder EnablePersistence(bool enablePersistence)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
if set to true [enable persistence].
|
Returns
EnableRippleEffect(Boolean)
Provides animation ripple effect to the control
Declaration
public MobileListViewPropertiesBuilder EnableRippleEffect(bool enableRippleEffect)
Parameters
Type |
Name |
Description |
System.Boolean |
enableRippleEffect |
|
Returns
Fields(Action<MobileListViewFieldsBuilder>)
Specifies the field settings to map the datasource is enabled.
Declaration
public MobileListViewPropertiesBuilder Fields(Action<MobileListViewFieldsBuilder> fields)
Parameters
Returns
Items(Action<MobileListViewItemAdder>)
Specifies the list items.
Declaration
public MobileListViewPropertiesBuilder Items(Action<MobileListViewItemAdder> listItem)
Parameters
Returns
ItemsCount(Int32)
Specifies the number of list item load to be load.
Declaration
public MobileListViewPropertiesBuilder ItemsCount(int itemsCount)
Parameters
Type |
Name |
Description |
System.Int32 |
itemsCount |
ItemsCount.
|
Returns
PersistSelection(Boolean)
Specifies whether to retain the selection of the item.
Declaration
public MobileListViewPropertiesBuilder PersistSelection(bool persistSelection)
Parameters
Type |
Name |
Description |
System.Boolean |
persistSelection |
if set to true [persist selection].
|
Returns
Query(String)
Specifies the query to execute with the datasource is enabled.
Declaration
public MobileListViewPropertiesBuilder Query(string query)
Parameters
Type |
Name |
Description |
System.String |
query |
The query.
|
Returns
Render()
Declaration
RenderMode(RenderMode)
Specifies the rendering mode of the control.
Declaration
public MobileListViewPropertiesBuilder RenderMode(RenderMode renderMode)
Parameters
Type |
Name |
Description |
RenderMode |
renderMode |
The render mode.
|
Returns
SelectedIndex(Int32)
Specifies the index of item which need to be in selected state initially while loading.
Declaration
public MobileListViewPropertiesBuilder SelectedIndex(int selectedIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
selectedIndex |
|
Returns
TemplateId(String)
Specifies Id of the element contains template contents.
Declaration
public MobileListViewPropertiesBuilder TemplateId(string templateId)
Parameters
Type |
Name |
Description |
System.String |
templateId |
The template identifier.
|
Returns
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
Windows(Action<MobileListViewWindowsPropertiesBuilder>)
Section for windows mode specific functionalities.
Declaration
public MobileListViewPropertiesBuilder Windows(Action<MobileListViewWindowsPropertiesBuilder> windows)
Parameters
Returns
Implements
System.Web.IHtmlString