[]
        
(Showing Draft Content)

C1.Blazor.Input.C1Popup

C1Popup Class

Inheritance
C1Popup
Namespace: C1.Blazor.Input
Assembly: C1.Blazor.Input.dll
Syntax
public class C1Popup : C1View, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject

Constructors

Name Description
C1Popup()

Initializes a new instance of the C1Popup class.

Fields

Name Description
CloseTriggerProperty

Identifies the CloseTrigger dependency property.

IsDarkOverlayProperty

Identifies the IsDarkOverlay dependency property.

IsDraggableProperty

Identifies the IsDraggable dependency property.

IsFullScreenProperty

Identifies the IsFullScreen dependency property.

IsModelessProperty

Identifies the IsModeless dependency property.

IsOpenProperty
IsPosUpdatedProperty

Identifies the IsPosUpdated dependency property.

IsResizableProperty

Identifies the IsResizable dependency property.

OpenTriggerProperty

Identifies the OpenTrigger dependency property.

PositionProperty

Identifies the Position dependency property.

TargetProperty

Identifies the Target dependency property.

Properties

Name Description
CloseDelay

Gets or sets delay time before close the Popup controls.

CloseOnPlacementTargetPositionChanged

Close popup on position's changes.

CloseTrigger

Gets or sets actions that trigger closing Popup controls.

Gap

Gets or sets space between owner and popup.

IsDarkOverlay

Gets or sets whether the overlay is dark themed.

IsDraggable

Gets or sets to make the popup draggable.

IsFullScreen

Gets or sets to make the popup open in full screen.

IsModeless

Gets or sets whether the dialog should be modeless (e.g. not dismiss when focusing/clicking outside of the dialog).

IsPopupOpenChanged

This callback is called when the popup is opened or closed.

IsPosUpdated

Gets or sets to whether popup updates the position when its parent change position by scrolling.

IsResizable

Gets or sets to make the popup is resizable.

OpenDelay

Gets or sets delay time before opening the Popup controls.

OpenTrigger

Gets or sets actions that trigger opening Popup controls.

PopupContent

Gets or sets the content of the popup.

Position

Gets or sets the position display the popup.

Target

Gets or sets the element id that owns this Popup.

TargetQuery

Gets or sets the css selector query to select an element that owns this Popup.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)
Close()

Call method to close Popup.

Dispose(bool)
InitializeAsync()

This method is called when the component is initialized.

IsOpened()

Determine whether the Popup is opened or not.

OnAfterRender(bool)
OnCloseTriggerChanged()

Called when CloseTrigger changed.

OnIsDraggableChanged()

Called when IsDraggable changed.

OnIsFullScreenChanged()

Called when IsFullScreen changed.

OnIsModelessChanged()

Called when IsModeless changed.

OnIsPopupOpenChanged()

Called when C1.Blazor.Input.C1Popup.IsOpen changed.

OnIsResizableChanged()

Called when IsResizable changed.

OnOpenTriggerChanged()

Called when OpenTrigger changed.

OnPositionChanged()

Called when Position changed.

OnTargetChanged()

Called when Target changed.

Open()

Call method to open Popup.

Refresh()

Refresh current view panel.

SetPopupWidth(string)
SetPosition(PopupPosition)