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

Kendo UI deleteConfirm TagHelper FileManagerMessagesDialogsDeleteConfirmSettingsTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("delete-confirm", ParentTag = "dialogs", TagStructure = TagStructure.NormalOrSelfClosing)]
[SuppressTagRendering]
public class FileManagerMessagesDialogsDeleteConfirmSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent

Inheritance: objectTagHelperTagHelperChildBaseFileManagerMessagesDialogsDeleteConfirmSettingsTagHelper

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-filemanager name="filemanager">
    <messages>
        <dialogs>
            <delete-confirm cancel="Cancel delete">
            </delete-confirm>
        </dialogs>
    </messages>
</kendo-filemanager>

Constructors

Initializes a new instance of the FileManagerMessagesDialogsDeleteConfirmSettingsTagHelper class.

C#
public FileManagerMessagesDialogsDeleteConfirmSettingsTagHelper()

Properties

Defines the text for the cancel button in the delete confirmation dialog. This message appears on the button that dismisses the dialog without deleting any files or folders, allowing users to abort the deletion operation. It provides localization support for different languages and allows customization of the user interface text.

C#
public string Cancel { get; set; }

Defines the text for the close button in the delete confirmation dialog. This message appears on the button or link that dismisses the dialog without performing the deletion, effectively canceling the destructive operation. It provides localization support for different languages and allows customization of the user interface text.

C#
public string Close { get; set; }

Defines the content text for the delete confirmation dialog in the FileManager. This message appears as the main body text that asks users to confirm the permanent deletion of selected files and folders. It provides localization support for different languages and allows customization of the user interface text.

C#
public string Content { get; set; }

Defines the text for the primary action button in the delete confirmation dialog. This message appears on the button that executes the deletion when users confirm they want to permanently remove the selected files and folders. It provides localization support for different languages and allows customization of the user interface text.

C#
public string OkText { get; set; }

Defines the title text for the delete confirmation dialog in the FileManager. This message appears in the dialog header when users attempt to delete selected files or folders, providing a clear warning about the destructive action. It provides localization support for different languages and allows customization of the user interface text.

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