Kendo UI margin TagHelper PivotGridPdfMarginSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("pivotgrid-pdf-margin", ParentTag = "pdf", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class PivotGridPdfMarginSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBasePivotGridPdfMarginSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-pivotgrid name="pivotgrid">
<pdf>
<pivotgrid-pdf-margin bottom="20" />
</pdf>
</kendo-pivotgrid>
Constructors
Initializes a new instance of the PivotGridPdfMarginSettingsTagHelper class.
C#
public PivotGridPdfMarginSettingsTagHelper()
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.