[]
        
(Showing Draft Content)

C1.Blazor.Input.C1Window

C1Window Class

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

Constructors

Name Description
C1Window()

Initializes a new instance of the C1Window class.

Fields

Name Description
CancelTextProperty

Identifies the CancelText dependency property.

CloseDelayProperty

Identifies the CloseDelay dependency property.

CloseTriggerProperty

Identifies the CloseTrigger dependency property.

DialogTypeProperty

Identifies the DialogType dependency property.

GapProperty

Identifies the Gap dependency property.

IsDarkOverlayProperty

Identifies the IsDarkOverlay dependency property.

IsDialogProperty

Identifies the IsDialog dependency property.

IsDraggableProperty

Identifies the IsDraggable dependency property.

IsFullScreenProperty

Identifies the IsFullScreen dependency property.

IsModelessProperty

Identifies the IsModeless dependency property.

IsResizableProperty

Identifies the IsResizable dependency property.

OkTextProperty

Identifies the OkText dependency property.

OpenDelayProperty

Identifies the OpenDelay dependency property.

OpenTriggerProperty

Identifies the OpenTrigger dependency property.

PopupContentProperty

Identifies the PopupContent dependency property.

PopupFooterProperty

Identifies the PopupFooter dependency property.

PopupHeaderProperty

Identifies the PopupHeader dependency property.

PositionProperty

Identifies the Position dependency property.

TargetProperty

Identifies the Target dependency property.

Properties

Name Description
CancelText

Gets or sets CancelText.

CloseDelay

Gets or sets delay time before closing Popup controls.

CloseTrigger

Gets or sets actions that trigger closing Popup controls.

DialogType

Gets or sets dialog result type.

Gap

Gets or sets space between owner and popup.

IsDarkOverlay

Gets or sets whether the overlay is dark themed.

IsDialog

Gets or sets to determine whether Popup is dialog result.

IsDraggable

Gets or sets to make the popup draggable

IsFullScreen

Gets or sets to make the window display in full screen .

IsModeless

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

IsOk

Get Ok button is click or not

IsPopupOpenChanged

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

IsResizable

Gets or sets to make the popup is resizable

OkText

Gets or sets OkText.

OpenDelay

Gets or sets delay time before opening Popup controls.

OpenTrigger

Gets or sets actions that trigger opening Popup controls.

PopupContent

Gets or sets the content of the popup.

PopupFooter

Gets or sets the footer of the popup.

PopupHeader

Gets or sets the header of the popup.

Position

Gets or sets the position that display the window.

PromptValue

Get Prompt value

Target

Gets or sets the element id 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)
OnCloseDelayChanged()

Called when CloseDelay changed.

OnCloseTriggerChanged()

Called when CloseTrigger changed.

OnGapChanged()

Called when Gap changed.

OnIsDraggableChanged()

Called when IsDraggable changed.

OnIsFullScreenChanged()

Called when IsFullScreen changed.

OnIsModelessChanged()

Called when IsModeless changed.

OnIsResizableChanged()

Called when IsResizable changed.

OnOpenDelayChanged()

Called when OpenDelay 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