Button
Class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class Button : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseButton
Implements:
Inherited Members
Constructors
C#
public Button(ViewContext viewContext, IJavaScriptInitializer initializer)
Properties
C#
public ButtonBadgeSettings Badge { get; set; }
Sets a value controlling how the color is applied.
C#
public ButtonFillMode? FillMode { get; set; }
Sets the size of the component.
C#
public ButtonSize? Size { get; set; }
C#
public string SpriteCssClass { get; set; }
Specifies the pane contents
C#
public HtmlTemplate Template { get; set; }
Sets the color of the component according to the applied theme.
C#
public ThemeColor? ThemeColor { get; set; }
Methods
C#
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
C#
protected override void WriteHtml(HtmlTextWriter writer)
Overrides:
Writes the initialization script.
C#
public override void WriteInitializationScript(TextWriter writer)
The writer.
Overrides: