The SmartPaste Settings FormSmartPasteTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("form-smart-paste", ParentTag = "kendo-form", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("service", new string[] { "form-fields" })]
public class FormSmartPasteTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseFormSmartPasteTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-form name="form">
<form-smart-paste cancel-icon="close"></form-smart-paste>
</kendo-form>
Child Tags
Constructors
public FormSmartPasteTagHelper()
Properties
Specifies the icon displayed when the button is in listening/processing state.
public string CancelIcon { get; set; }
Specifies whether the SmartPasteButton widget will be enabled or disabled.
public bool? Enable { get; set; }
Sets a value controlling how the color is applied.
public FillMode? FillMode { get; set; }
Specifies the icon displayed on the button in its default state.
public string Icon { get; set; }
The name of the JavaScript function that will handle the error event. Fired when an error occurs during SmartPasteButton processing.
public string OnError { get; set; }
The name of the JavaScript function that will handle the requestEnd event. Fired when the SmartPasteButton completes processing a paste operation.
public string OnRequestEnd { get; set; }
The name of the JavaScript function that will handle the requestStart event. Fired when the SmartPasteButton begins processing a paste operation.
public string OnRequestStart { get; set; }
Sets the size of the component.
public ComponentSize? Size { get; set; }
Specifies the text displayed on the button. If not set, the button will display only an icon.
public string Text { get; set; }
Sets the color of the component according to the applied theme.
public ThemeColor? ThemeColor { get; set; }
Methods
Adds the current instance to the parent TagHelper, if applicable.
protected override void AddSelfToParent(TagHelperContext context)
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.