Kendo UI crop TagHelper ImageEditorMessagesPanesCropSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("crop", ParentTag = "panes", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class ImageEditorMessagesPanesCropSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseImageEditorMessagesPanesCropSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-imageeditor name="imageeditor">
<imageeditor-messages>
<panes>
<crop aspect-ratio="Aspect Ratio"></crop>
</panes>
</imageeditor-messages>
</kendo-imageeditor>
Constructors
Initializes a new instance of the ImageEditorMessagesPanesCropSettingsTagHelper class.
C#
public ImageEditorMessagesPanesCropSettingsTagHelper()
Properties
Defines the localization for the crop pane field.
C#
public string AspectRatio { get; set; }
Defines the localization for the crop pane field.
C#
public string Landscape { get; set; }
Defines the localization for the crop pane field.
C#
public string Orientation { get; set; }
Defines the localization for the crop pane field.
C#
public string Portrait { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
C#
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.