Kendo UI margin TagHelper PropertyGridPdfMarginSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("margin", ParentTag = "pdf", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class PropertyGridPdfMarginSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBasePropertyGridPdfMarginSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-propertygrid name="propertygrid">
<pdf>
<margin bottom="20" />
</pdf>
</kendo-propertygrid>
Constructors
Initializes a new instance of the PropertyGridPdfMarginSettingsTagHelper class.
C#
public PropertyGridPdfMarginSettingsTagHelper()
Properties
The bottom margin. Numbers are considered as pt units.
C#
public double? Bottom { get; set; }
The left margin. Numbers are considered as pt units.
C#
public double? Left { get; set; }
The right margin. Numbers are considered as pt units.
C#
public double? Right { 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.