Syncfusion.EJ2
Properties  Methods 


Dialog Class Members

The following tables list the members exposed by Dialog.

Public Constructors
 NameDescription
Public Constructor  
Top
Public Properties
 NameDescription
Public Property Specifies the value whether the dialog component can be dragged by the end-user. The dialog allows to drag by selecting the header and dragging it for re-position the dialog.  
Public Property Specifies the animation settings of the dialog component. The animation effect can be applied on open and close the dialog with duration and delay.  
Public Property Event triggers before the dialog is closed. If you cancel this event, the dialog remains opened. Set the cancel argument to true to cancel the closure of a dialog.  
Public Property Event triggers when the dialog is being opened. If you cancel this event, the dialog remains closed. Set the cancel argument to true to cancel the open of a dialog.  
Public Property Event triggers before sanitize the value.  
Public Property Configures the action `buttons` that contains button properties with primary attributes and click events. One or more action buttons can be configured to the dialog.  
Public Property Event triggers after the dialog has been closed.  
Public Property Specifies the boolean value whether the dialog can be closed with the escape key that is used to control the dialog's closing behavior.  
Public Property Specifies the value that can be displayed in dialog's content area. It can be information, list, or other HTML elements. The content of dialog can be loaded with dynamic data such as database, AJAX content, and more.  
Public Property To get or set value for ContentTemplate.  
Public Property Event triggers when the dialog is created.  
Public Property Specifies the CSS class name that can be appended with root element of the dialog. One or more custom CSS classes can be added to a dialog.  
Public Property Event triggers when the dialog is destroyed.  
Public Property Event triggers when the user drags the dialog.  
Public Property Event triggers when the user begins dragging the dialog.  
Public Property Event triggers when the user stop dragging the dialog.  
Public Property Defines whether to allow the cross-scripting site or not.  
Public Property Enable or disable persisting component's state between page reloads.  
Public Property Specifies the value whether the dialog component can be resized by the end-user. If enableResize is true, the dialog component creates grip to resize it diagonal direction.  
Public Property Enable or disable rendering component in right to left direction.  
Public Property Specifies the template value that can be displayed with dialog's footer area. This is optional property and can be used only when the footer is occupied with information or custom components. By default, the footer is configured with action [buttons](#buttons). If footer template is configured to dialog, the action buttons property will be disabled.  
Public Property Specifies the value that can be displayed in the dialog's title area that can be configured with plain text or HTML elements. This is optional property and the dialog can be displayed without header, if the header property is null.  
Public Property Specifies the height of the dialog component.  
Public Property Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.  
Public Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Public Property Specifies the Boolean value whether the dialog can be displayed as modal or non-modal. `Modal`: It creates overlay that disable interaction with the parent application and user should respond with modal before continuing with other applications. `Modeless`: It does not prevent user interaction with parent application.  
Public Property Overrides the global culture and localization value for this component. Default global culture is 'en-US'.  
Public Property Specify the min-height of the dialog component.  
Public Property Event triggers when a dialog is opened.  
Public Property Event triggers when the overlay of dialog is clicked.  
Public Property Specifies the value where the dialog can be positioned within the document or target. The position can be represented with pre-configured positions or specific X and Y values. `X value`: left, center, right, or offset value. `Y value`: top, center, bottom, or offset value.  
Public Property Event triggers when the user begins to resize a dialog.  
Public Property Event triggers when the user stop to resize a dialog.  
Public Property Event triggers when the user resize the dialog.  
Public Property Specifies the value that represents whether the close icon is shown in the dialog component.  
Public Property Specifies the target element in which to display the dialog. The default value is null, which refers the `document.body` element.  
Public Property Specifies the value that represents whether the dialog component is visible.  
Public Property Specifies the width of the dialog.  
Public Property Specifies the z-order for rendering that determines whether the dialog is displayed in front or behind of another component.  
Top
Protected Properties
 NameDescription
Protected PropertyOverridden.   
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected PropertyOverridden.   
Protected PropertyOverridden.   
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected PropertyOverridden.   
Top
Public Methods
Protected Methods
 NameDescription
Protected Method (Inherited from Syncfusion.EJ2.EJTagHelper)
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded.  Iterates the index.
Top
See Also