Syncfusion.EJ2
Properties  Methods 


Button Class Members

The following tables list the members exposed by Button.

Public Constructors
 NameDescription
Public Constructor  
Top
Public Properties
 NameDescription
Public PropertyDefines the text `content` of the Button element. {% codeBlock src='button/content/index.md' }{ endcodeBlock %}  
Public Property To get or set value for ContentTemplate.  
Public Property Triggers once the component rendering is completed.  
Public PropertyDefines class/multiple classes separated by a space in the Button element. The Button types, styles, and size can be defined by using [`this`](http://ej2.syncfusion.com/documentation/button/howto.html?lang=typescript#create-a-block-button). {% codeBlock src='button/cssClass/index.md' }{ endcodeBlock %}  
Public Property Specifies a value that indicates whether the Button is `disabled` or not.  
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 Enable or disable rendering component in right to left direction.  
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 Defines class/multiple classes separated by a space for the Button that is used to include an icon. Buttons can also include font icon and sprite image.  
Public Property Positions the icon before/after the text content in the Button. The possible values are: Left: The icon will be positioned to the left of the text content. Right: The icon will be positioned to the right of the text content.  
Public Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Public Property Allows the appearance of the Button to be enhanced and visually appealing when set to `true`.  
Public Property Makes the Button toggle, when set to `true`. When you click it, the state changes from normal to active.  
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