Kendo UI position TagHelper NotificationPositionSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("position", ParentTag = "kendo-notification", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class NotificationPositionSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseNotificationPositionSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-notification name="notification">
<position bottom="20" />
</kendo-notification>
Constructors
Initializes a new instance of the NotificationPositionSettingsTagHelper class.
public NotificationPositionSettingsTagHelper()
Properties
Determines the pixel position of the first popup notification with regard to the viewport's bottom edge.
public double? Bottom { get; set; }
Determines the pixel position of the first popup notification with regard to the viewport's left edge.
public double? Left { get; set; }
Determines whether the popup notifications will move together with the other page content during scrolling.
public bool? Pinned { get; set; }
Determines the pixel position of the first popup notification with regard to the viewport's right edge.
public double? Right { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.