NotificationPositionSettingsBuilder

Methods

Bottom(System.Double)

Determines the pixel position of the first popup notification with regard to the viewport's bottom edge.

Parameters

value - System.Double

The value for Bottom

RETURNS

Returns the current NotificationPositionSettingsBuilder instance.

Example

Razor
 
            @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Position(p=>p.Bottom(12))
            )
             

Left(System.Double)

Determines the pixel position of the first popup notification with regard to the viewport's left edge.

Parameters

value - System.Double

The value for Left

RETURNS

Returns the current NotificationPositionSettingsBuilder instance.

Example

Razor
 
            @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Position(p=>p.Left(12))
            )
             

Pinned(System.Boolean)

Determines whether the popup notifications will move together with the other page content during scrolling.

Parameters

value - System.Boolean

The value for Pinned

RETURNS

Returns the current NotificationPositionSettingsBuilder instance.

Example

Razor
 
            @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Position(p=>p.Pinned(true))
            )
             

Right(System.Double)

Determines the pixel position of the first popup notification with regard to the viewport's right edge.

Parameters

value - System.Double

The value for Right

RETURNS

Returns the current NotificationPositionSettingsBuilder instance.

Example

Razor
 
            @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Position(p=>p.Right(12))
            )
             

Top(System.Double)

Determines the position of the first popup notification with regard to the viewport's top edge. Numeric values are treated as pixels.

Parameters

value - System.Double

The value for Top

RETURNS

Returns the current NotificationPositionSettingsBuilder instance.

Example

Razor
 
            @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Position(p=>p.Top(12))
            )