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

Kendo UI messages TagHelper OrgChartMessagesSettingsTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("messages", ParentTag = "kendo-orgchart", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class OrgChartMessagesSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent

Inheritance: objectTagHelperTagHelperChildBaseOrgChartMessagesSettingsTagHelper

Implements: ITagHelperITagHelperComponent

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-orgchart name="orgchart">
    <messages cancel="Cancel"></messages>
</kendo-orgchart>

Constructors

Initializes a new instance of the OrgChartMessagesSettingsTagHelper class.

C#
public OrgChartMessagesSettingsTagHelper()

Properties

The message that will be used for the cancel action button text.

C#
public string Cancel { get; set; }

The message that will be used to label the Collapse button.

C#
public string Collapse { get; set; }

The message that will be used for the create action in the edit pop-up Menu.

C#
public string Create { get; set; }

The message that will be used for the destroy action in the edit pop-up Menu.

C#
public string Destroy { get; set; }

The message that will be used for the destroy confirmation pop-up content.

C#
public string DestroyContent { get; set; }

The message that will be used for the destroy confirmation pop-up title.

C#
public string DestroyTitle { get; set; }

The message that will be used for the edit action in the edit pop-up Menu.

C#
public string Edit { get; set; }

The message that will be used to label the Expand button.

C#
public string Expand { get; set; }

The label that will be used for the aria-label value of the OrgChart widget.

C#
public string Label { get; set; }

The message that will be used for the aria-label of the edit pop-up Menu.

C#
public string MenuLabel { get; set; }

The message that will be used for the "name" text.

C#
public string Name { get; set; }

The message that will be used in the Parent DropDownList editor to specify the null option (no parent).

C#
public string None { get; set; }

The message that will be used for the "parent" text.

C#
public string Parent { get; set; }

The message that will be used for save action button text.

C#
public string Save { get; set; }

The message that will be used for the "title" text.

C#
public string Title { get; set; }

The message that will be used for the avatar Upload's label.

C#
public string UploadAvatar { 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>