menu

ASP.NET Core

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MobileDialogPropertiesBuilder

    Show / Hide Table of Contents

    Class MobileDialogPropertiesBuilder

    Inheritance
    System.Object
    MobileDialogPropertiesBuilder
    Implements
    IPropertiesBuilder
    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.Mobile
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class MobileDialogPropertiesBuilder : IPropertiesBuilder, IHtmlString

    Constructors

    MobileDialogPropertiesBuilder(Dialog)

    Initializes a new instance of the MobileDialogPropertiesBuilder class.

    Declaration
    public MobileDialogPropertiesBuilder(Dialog mobileDialog)
    Parameters
    Type Name Description
    Dialog mobileDialog

    Methods

    AllowScrolling(Boolean)

    Specifies whether to allow scrolling behaviour for the contents.

    Declaration
    public MobileDialogPropertiesBuilder AllowScrolling(bool allowScrolling)
    Parameters
    Type Name Description
    System.Boolean allowScrolling

    if set to true [allow scroll].

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    ClientSideEvents(Action<MobileDialogClientSideEventsBuilder>)

    Section for client the side events.

    Declaration
    public MobileDialogPropertiesBuilder ClientSideEvents(Action<MobileDialogClientSideEventsBuilder> clientSideEvents)
    Parameters
    Type Name Description
    System.Action<MobileDialogClientSideEventsBuilder> clientSideEvents

    The client side events.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    CloseOndocumentTap(Boolean)

    Specifies the closeOndocumentTap.

    Declaration
    public MobileDialogPropertiesBuilder CloseOndocumentTap(bool closeOndocumentTap)
    Parameters
    Type Name Description
    System.Boolean closeOndocumentTap

    closeOndocumentTap.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    Content(Action<MobileDialogProperties>)

    Specifies the element contains template contents.

    Declaration
    public MobileDialogPropertiesBuilder Content(Action<MobileDialogProperties> content)
    Parameters
    Type Name Description
    System.Action<MobileDialogProperties> content

    The content.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    DialogBuilder.

    Content(Func<MobileDialogProperties, Object>)

    Specifies the element contains template contents.

    Declaration
    public MobileDialogPropertiesBuilder Content(Func<MobileDialogProperties, object> content)
    Parameters
    Type Name Description
    System.Func<MobileDialogProperties, System.Object> content
    Returns
    Type Description
    MobileDialogPropertiesBuilder

    DialogBuilder.

    CssClass(String)

    Specifies custom theme for the control.

    Declaration
    public MobileDialogPropertiesBuilder CssClass(string cssClass)
    Parameters
    Type Name Description
    System.String cssClass

    The cssClass.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    EnableAnimation(Boolean)

    Enables the animation.

    Declaration
    public MobileDialogPropertiesBuilder EnableAnimation(bool enableAnimation)
    Parameters
    Type Name Description
    System.Boolean enableAnimation

    if set to true [enable animation].

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    EnableAutoOpen(Boolean)

    Specifies whether to open the dialog on initial loading.

    Declaration
    public MobileDialogPropertiesBuilder EnableAutoOpen(bool enableAutoOpen)
    Parameters
    Type Name Description
    System.Boolean enableAutoOpen

    if set to true [enable automatic open].

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    EnableModal(Boolean)

    Specifies whether to enable modal dialog.

    Declaration
    public MobileDialogPropertiesBuilder EnableModal(bool enableModal)
    Parameters
    Type Name Description
    System.Boolean enableModal

    if set to true [enableModal].

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    EnableNativeScrolling(Boolean)

    Specifies whether to enable device's native scroll behaviour when scrolling is allowed.

    Declaration
    public MobileDialogPropertiesBuilder EnableNativeScrolling(bool enableNativeScrolling)
    Parameters
    Type Name Description
    System.Boolean enableNativeScrolling

    if set to true [enable native scroll].

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    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 MobileDialogPropertiesBuilder EnablePersistence(bool enablePersistence)
    Parameters
    Type Name Description
    System.Boolean enablePersistence

    if set to true [enable persistence].

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    Height(String)

    Specifies the dialog height.

    Declaration
    public MobileDialogPropertiesBuilder Height(string height)
    Parameters
    Type Name Description
    System.String height

    height.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    LeftButtonCaption(String)

    Specifies the text of left button.

    Declaration
    public MobileDialogPropertiesBuilder LeftButtonCaption(string leftButtonCaption)
    Parameters
    Type Name Description
    System.String leftButtonCaption

    leftButtonCaption.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    Mode(DialogMode)

    Specifies the dialog mode to render.

    Declaration
    public MobileDialogPropertiesBuilder Mode(DialogMode mode)
    Parameters
    Type Name Description
    DialogMode mode

    The mode.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    Render()

    Declaration
    public void Render()

    RenderMode(RenderMode)

    Specifies the rendering mode of the control.

    Declaration
    public MobileDialogPropertiesBuilder RenderMode(RenderMode renderMode)
    Parameters
    Type Name Description
    RenderMode renderMode

    The render mode.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    RightButtonCaption(String)

    Specifies the text of right button.

    Declaration
    public MobileDialogPropertiesBuilder RightButtonCaption(string rightButtonCaption)
    Parameters
    Type Name Description
    System.String rightButtonCaption

    rightButtonCaption.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    ShowButtons(Boolean)

    Specifies whether to show the button.

    Declaration
    public MobileDialogPropertiesBuilder ShowButtons(bool showButtons)
    Parameters
    Type Name Description
    System.Boolean showButtons

    if set to true [enable buttons].

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    ShowHeader(Boolean)

    Specifies whether to show the header.

    Declaration
    public MobileDialogPropertiesBuilder ShowHeader(bool showHeader)
    Parameters
    Type Name Description
    System.Boolean showHeader

    if set to true [enable header].

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    TemplateId(String)

    Specifies ID of the element contains template contents.

    Declaration
    public MobileDialogPropertiesBuilder TemplateId(string templateId)
    Parameters
    Type Name Description
    System.String templateId

    The template identifier.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    Theme(Theme)

    Specifies the theme.

    Declaration
    public MobileDialogPropertiesBuilder Theme(Theme theme)
    Parameters
    Type Name Description
    Theme theme

    The theme.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    Title(String)

    Specifies the title text.

    Declaration
    public MobileDialogPropertiesBuilder Title(string title)
    Parameters
    Type Name Description
    System.String title

    title.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    ToHtmlString()

    Declaration
    public string ToHtmlString()
    Returns
    Type Description
    System.String

    Width(String)

    Specifies the dialog width.

    Declaration
    public MobileDialogPropertiesBuilder Width(string width)
    Parameters
    Type Name Description
    System.String width

    width.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    Windows(Action<DialogRenderModePropertiesBuilder>)

    Section for windows mode specific functionalities.

    Declaration
    public MobileDialogPropertiesBuilder Windows(Action<DialogRenderModePropertiesBuilder> windowsModel)
    Parameters
    Type Name Description
    System.Action<DialogRenderModePropertiesBuilder> windowsModel

    The windows model.

    Returns
    Type Description
    MobileDialogPropertiesBuilder

    Implements

    IPropertiesBuilder
    System.Web.IHtmlString
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved