[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.PopupBuilder

PopupBuilder Class

Defines a builder to configurate Popup.

Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public class PopupBuilder : ControlBuilder<Popup, PopupBuilder>, IHtmlString

Constructors

Name Description
PopupBuilder(Popup)

Creates one PopupBuilder instance to configurate component.

Methods

Name Description
Content(Func<object, object>)

Sets the Content property.

Content(string)

Sets the Content property.

DialogResultSubmit(string)

Configurates DialogResultSubmit. Sets a string to be used as a dialogResult when the dialog is hosted by a form element and the user submits the form.

FadeIn(bool)

Configurates FadeIn. Sets a value that determines whether popups should be shown using a fade-in animation.

FadeOut(bool)

Configurates FadeOut. Sets a value that determines whether popups should be hidden using a fade-out animation.

HideTrigger(PopupTrigger)

Configurates HideTrigger. Sets the actions that hide the Popup.

IsDraggable(bool)

Configurates IsDraggable. Sets a value that determines whether the popup can be dragged with the mouse by its header.

IsResizable(bool)

Configurates IsResizable. Sets a value that determines whether the popup can be resized by dragging its edges with the mouse.

Modal(bool)

Configurates Modal. Sets a value that determines whether the Popup should be displayed as a modal dialog.

OnClientDragged(string)

Configurates the OnClientDragged client event. Sets the client function which occurs after the Popup has been dragged.

OnClientDragging(string)

Configurates the OnClientDragging client event. Sets the client function which occurs when the Popup is about to be dragged.

OnClientHidden(string)

Configurates the OnClientHidden client event. Sets the client function which occurs after the Popup has been hidden.

OnClientHiding(string)

Configurates the OnClientHiding client event. Sets the client function which occurs before the Popup is hiding.

OnClientPositionChanged(string)

Configurates the OnClientPositionChanged client event. Sets the client function which occurs while the user moves the Popup, between the Dragging and Dragged events, after the PositionChanging event.

OnClientPositionChanging(string)

Configurates the OnClientPositionChanging client event. Sets the client function which occurs while the user moves the Popup, between the Dragging and Dragged events.

OnClientResized(string)

Configurates the OnClientResized client event. Sets the client function which occurs after the Popup has been resized.

OnClientResizing(string)

Configurates the OnClientResizing client event. Sets the client function which occurs when the Popup is about to be resized.

OnClientShowing(string)

Configurates the OnClientShowing client event. Sets the client function which occurs before the Popup is showing.

OnClientShown(string)

Configurates the OnClientShown client event. Sets the client function which occurs after the Popup has been shown.

OnClientSizeChanged(string)

Configurates the OnClientSizeChanged client event. Sets the client function which occurs while the user resizes the Popup, between the resizing and resized events, after the SizeChanging event.

OnClientSizeChanging(string)

Configurates the OnClientSizeChanging client event. Sets the client function which occurs while the user resizes the Popup, between the resizing and resized events.

Owner(string)

Configurates Owner. Sets the selector string to determine the element that own this popup.

Position(PopupPosition)

Configurates Position. Sets a value that determines where the popup should be displayed with respect to the owner element.

RemoveOnHide(bool)

Configurates RemoveOnHide. Sets a value that determines whether the Popup element should be removed from the DOM when the Popup is hidden, as opposed to being hidden.

ShowTrigger(PopupTrigger)

Configurates ShowTrigger. Sets the actions that show the Popup.

Extension Methods