New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI previewPane TagHelper TaskBoardPreviewPaneSettingsTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("preview-pane", ParentTag = "kendo-taskboard", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("buttons", new string[] { "preview-pane-header-template", "preview-pane-template" })]
[SuppressTagRendering]
public class TaskBoardPreviewPaneSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent

Inheritance: objectTagHelperTagHelperChildBaseTaskBoardPreviewPaneSettingsTagHelper

Implements: ITagHelperITagHelperComponentITemplateComponent

Inherited Members TagHelperChildBase.Init(TagHelperContext)TagHelperChildBase.AddSelfToContext(TagHelperContext)TagHelperChildBase.CreateHandler(string)TagHelperChildBase.IdPrefixTagHelper.Process(TagHelperContext, TagHelperOutput)TagHelper.Orderobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Example:

csharp
@addTagHelper *, Kendo.Mvc

<kendo-taskboard name="taskboard">
    <preview-pane>
        <buttons>
        </buttons>
    </preview-pane>
</kendo-taskboard>

Constructors

Initializes a new instance of the TaskBoardPreviewPaneSettingsTagHelper class.

C#
public TaskBoardPreviewPaneSettingsTagHelper()

Properties

Enables or disables the configuration.

C#
public bool? Enabled { get; set; }

The template rendering of the header for the preview pane.

C#
public string HeaderTemplate { get; set; }

The template rendering of the header for the preview pane. This option expects the name of a JavaScript function that will be called to return the template.

C#
public string HeaderTemplateHandler { get; set; }

The template rendering of the header for the preview pane. This option expects the ID of the script element that contains the template.

C#
public string HeaderTemplateId { get; set; }

The template rendering of the header for the preview pane. This option expects the IHtmlContent instance containing the created HTML.

C#
public IHtmlContent HeaderTemplateView { get; set; }

The template rendering of the preview pane.

C#
public string Template { get; set; }

The template rendering of the preview pane. This option expects the name of a JavaScript function that will be called to return the template.

C#
public string TemplateHandler { get; set; }

The template rendering of the preview pane. This option expects the ID of the script element that contains the template.

C#
public string TemplateId { get; set; }

Represents a collection of templates defined for the component.

C#
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }

Implements: ITemplateComponent.Templates

The template rendering of the preview pane. This option expects the IHtmlContent instance containing the created HTML.

C#
public IHtmlContent TemplateView { get; set; }

Methods

Adds the current TagHelper instance to its parent TagHelper.

C#
protected override void AddSelfToParent(TagHelperContext context)
Parameters:contextTagHelperContext

The TagHelper context.

Overrides: TagHelperChildBase.AddSelfToParent(TagHelperContext)

C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters:contextTagHelperContextoutputTagHelperOutputReturns:

Task

Overrides: TagHelperChildBase.ProcessAsync(TagHelperContext, TagHelperOutput)

Serializes the defined settings.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>