Class MobileAccordionPropertiesBuilder
Inheritance
System.Object
MobileAccordionPropertiesBuilder
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 MobileAccordionPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
MobileAccordionPropertiesBuilder(MobileAccordion)
Declaration
public MobileAccordionPropertiesBuilder(MobileAccordion mAccordion)
Parameters
Methods
AjaxSettings(Action<jQueryAjaxOptionsBuilder>)
Section for ajaxSettings specific functionalities.
Declaration
public MobileAccordionPropertiesBuilder AjaxSettings(Action<jQueryAjaxOptionsBuilder> ajaxOptions)
Parameters
Returns
ClientSideEvents(Action<MobileAccordionClientSideEventsBuilder>)
Declaration
public MobileAccordionPropertiesBuilder ClientSideEvents(Action<MobileAccordionClientSideEventsBuilder> clientSideEvents)
Parameters
Returns
CollapseAll(Boolean)
To collapse all items initially.
Declaration
public MobileAccordionPropertiesBuilder CollapseAll(bool collapseAll)
Parameters
Type |
Name |
Description |
System.Boolean |
collapseAll |
The collapseAll value.
|
Returns
CssClass(String)
Specifies custom theme for the control.
Declaration
public MobileAccordionPropertiesBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
The cssClass.
|
Returns
DisabledItems(Int32[])
The given index header(s) will be in disabled state.
Declaration
public MobileAccordionPropertiesBuilder DisabledItems(int[] disabledItems)
Parameters
Type |
Name |
Description |
System.Int32[] |
disabledItems |
|
Returns
EnableAjax(Boolean)
AJAX setting options help to AJAX loading.
Declaration
public MobileAccordionPropertiesBuilder EnableAjax(bool enableAjax)
Parameters
Type |
Name |
Description |
System.Boolean |
enableAjax |
if set to true [enableAjax].
|
Returns
EnableCache(Boolean)
AJAX setting options help to AJAX loading.
Declaration
public MobileAccordionPropertiesBuilder EnableCache(bool enableCache)
Parameters
Type |
Name |
Description |
System.Boolean |
enableCache |
if set to true [enableCache].
|
Returns
EnableMultipleOpen(Boolean)
Multiple content panels to activate at a time.
Declaration
public MobileAccordionPropertiesBuilder EnableMultipleOpen(bool enableMultipleOpen)
Parameters
Type |
Name |
Description |
System.Boolean |
enableMultipleOpen |
if set to true [enable multiple open].
|
Returns
EnablePersistence(Boolean)
Save current model value to browser cookies for maintaining states. When refreshing the accordion control page.
Declaration
public MobileAccordionPropertiesBuilder EnablePersistence(bool enablePersistence)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
if set to true [enablePersistence].
|
Returns
EnableRippleEffect(Boolean)
Provides the animation ripple effect for the control.
Declaration
public MobileAccordionPropertiesBuilder EnableRippleEffect(bool enableRippleEffect)
Parameters
Type |
Name |
Description |
System.Boolean |
enableRippleEffect |
|
Returns
ExpandAll(Boolean)
To expand all items initially.
Declaration
public MobileAccordionPropertiesBuilder ExpandAll(bool expandAll)
Parameters
Type |
Name |
Description |
System.Boolean |
expandAll |
The expandAll value.
|
Returns
Displays the given icon on the Accordion control Items.
Declaration
public MobileAccordionPropertiesBuilder HeaderIcon(Action<MobileAccordionHeaderIconPropertiesBuilder> windowsModel)
Parameters
Returns
HeightAdjustMode(HeightAdjustMode)
Adjusts the content panel height based on the given option.
Declaration
public MobileAccordionPropertiesBuilder HeightAdjustMode(HeightAdjustMode heightAdjustMode)
Parameters
Returns
Items(Action<MobileAccordionBaseItemAdder>)
Itemses the specified item.
Declaration
public MobileAccordionPropertiesBuilder Items(Action<MobileAccordionBaseItemAdder> item)
Parameters
Returns
ItemsData(String)
Declaration
public MobileAccordionPropertiesBuilder ItemsData(string itemsdata)
Parameters
Type |
Name |
Description |
System.String |
itemsdata |
|
Returns
PrefetchAjaxContent(Boolean)
AJAX setting options help to AJAX loading.
Declaration
public MobileAccordionPropertiesBuilder PrefetchAjaxContent(bool prefetchAjaxContent)
Parameters
Type |
Name |
Description |
System.Boolean |
prefetchAjaxContent |
if set to true [prefetchAjaxContent].
|
Returns
Render()
Declaration
RenderMode(RenderMode)
Changes the rendering mode of the Accordion.
Declaration
public MobileAccordionPropertiesBuilder RenderMode(RenderMode renderMode)
Parameters
Type |
Name |
Description |
RenderMode |
renderMode |
The render mode.
|
Returns
SelectedItems(Int32[])
The given index header will activate (open). If collapsible is set to true, and a negative value is given, then all headers are collapsed. Otherwise, the first item is activated.
Declaration
public MobileAccordionPropertiesBuilder SelectedItems(int[] selectedItems)
Parameters
Type |
Name |
Description |
System.Int32[] |
selectedItems |
|
Returns
AJAX setting options help to AJAX loading.
Declaration
public MobileAccordionPropertiesBuilder ShowAjaxPopup(bool showAjaxPopup)
Parameters
Type |
Name |
Description |
System.Boolean |
showAjaxPopup |
if set to true [showAjaxPopup].
|
Returns
To header icon show or not.
Declaration
public MobileAccordionPropertiesBuilder ShowHeaderIcon(bool showHeaderIcon)
Parameters
Type |
Name |
Description |
System.Boolean |
showHeaderIcon |
The header icon show or not.
|
Returns
SpinnerText(String)
Specifies the Accordion spinnerText.
Declaration
public MobileAccordionPropertiesBuilder SpinnerText(string spinnerText)
Parameters
Type |
Name |
Description |
System.String |
spinnerText |
The spinner text.
|
Returns
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
Windows(Action<MobileAccordionWindowsPropertiesBuilder>)
Section for windows rendermode specific functionalities.
Declaration
public MobileAccordionPropertiesBuilder Windows(Action<MobileAccordionWindowsPropertiesBuilder> windowsModel)
Parameters
Returns
Implements
System.Web.IHtmlString