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

Kendo UI previewPane TagHelper FileManagerMessagesPreviewPaneSettingsTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("preview-pane", ParentTag = "messages", TagStructure = TagStructure.NormalOrSelfClosing)]
[SuppressTagRendering]
public class FileManagerMessagesPreviewPaneSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent

Inheritance: objectTagHelperTagHelperChildBaseFileManagerMessagesPreviewPaneSettingsTagHelper

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>
        <preview-pane created="Created message"></preview-pane>
    </messages>
</kendo-filemanager>

Constructors

Initializes a new instance of the FileManagerMessagesPreviewPaneSettingsTagHelper class.

C#
public FileManagerMessagesPreviewPaneSettingsTagHelper()

Properties

Defines the label text for the creation date field in the preview pane. This message appears as a label next to the file creation date information when a file or folder is selected in the FileManager. It provides localization support for different languages and allows customization of the user interface text.

C#
public string Created { get; set; }

Defines the label text for the file extension field in the preview pane. This message appears as a label next to the file type or extension information when a file is selected in the FileManager. It provides localization support for different languages and allows customization of the user interface text.

C#
public string Extension { get; set; }

Defines the label text for the item count field in the preview pane when a folder is selected. This message appears as a suffix alongside numerical values to indicate the number of files and subfolders contained within a selected directory. It provides localization support for different languages and allows customization of the user interface text.

C#
public string Items { get; set; }

Defines the label text for the modification date field in the preview pane. This message appears as a label next to the last modification date information when a file or folder is selected in the FileManager. It provides localization support for different languages and allows customization of the user interface text.

C#
public string Modified { get; set; }

Defines the text displayed in the preview pane when no file is currently selected. This message appears in the details panel to inform users that they need to select a file or folder to view its properties and information. It provides localization support for different languages and allows customization of the user interface text.

C#
public string NoFileSelected { get; set; }

Defines the label text for the file size field in the preview pane. This message appears as a label next to the file size information when a file is selected in the FileManager, displaying the file's storage size. It provides localization support for different languages and allows customization of the user interface text.

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