Skip to main content

DxWindow Members

A non-modal window with custom content.

Constructors

Name Description
DxWindow() Initializes a new instance of the DxWindow class.

Properties

Name Description
AllowDrag Specifies whether users can drag the Window.
AllowDragByHeaderOnly Specifies whether a user can start window drag-and-drop in the header only or anywhere in the client area.
AllowResize Specifies whether users can resize the Window.
Attributes Specifies a collection of standard HTML attributes applied to the Window.
BodyContentTemplate Specifies a template for content of the window’s body.
BodyCssClass Assigns a CSS class to the Window’s body.
BodyTemplate Specifies a template for the window’s body. Replaces the default render fragment (including paddings, scrollbars, etc.)
BodyText Specifies text displayed in the Window body.
BodyTextTemplate Specifies the template for the Window’s body text area.
CloseOnEscape Specifies whether the Window should close when a user presses Escape.
CssClass Assigns a CSS class to the window.
FooterContentTemplate Specifies a template for content of the window’s footer.
FooterCssClass Assigns a CSS class to the footer.
FooterTemplate Specifies a template for the window’s footer. Replaces the default render fragment (including paddings, scrollbars, etc.)
FooterText Specifies text displayed in the Window footer.
FooterTextTemplate Specifies the template for the Window’s footer text area.
HeaderContentTemplate Specifies a template for content of the window’s header.
HeaderCssClass Assigns a CSS class to the header.
HeaderTemplate Specifies a template for the window’s header. Replaces the default render fragment (including paddings, scrollbars, etc.)
HeaderText Specifies text displayed in the Window header.
HeaderTextTemplate Specifies the template for the Window’s header text area.
Height Specifies the Window’s height.
HorizontalAlignment Specifies the Window’s horizontal alignment.
Id Specifies the component’s unique identifier.
InitializedTask The task that allows you to wait until the Window is initialized.
IsInitialized Gets whether the Window component is initialized.
MaxHeight Specifies the Window’s maximum height.
MaxWidth Specifies the Window’s maximum width.
MinHeight Specifies the Window’s minimum height.
MinWidth Specifies the Window’s minimum width.
PositionX Specifies the X coordinate of the Window’s top left corner.
PositionY Specifies the Y coordinate of the Window’s top left corner.
Scrollable Specifies whether the vertical scrollbar appears in the Window if its content exceeds the Window’s boundaries.
ShowCloseButton Specifies whether the Window’s header displays the Close button.
ShowFooter Specifies whether the Window displays the footer.
ShowHeader Specifies whether the Window displays the header.
SizeMode Specifies the size of the component and its content.
VerticalAlignment Specifies the Window’s vertical alignment.
Visible Specifies whether the Window is visible.
Width Specifies the Window’s width.
ZIndex Specifies the Window’s z-index.

Methods

Name Description
CloseAsync(CancellationToken) Asynchronously closes the Window.
DisposeAsync() Asynchronously disposes of the Window.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MoveAsync(Double, Double, CancellationToken) Asynchronously moves the Window to the specified coordinates.
MoveAsync(Point, CancellationToken) Asynchronously moves the Window to the specified point.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ShowAsync(CancellationToken) Asynchronously shows the Window.
ShowAtAsync(ElementReference, CancellationToken) Asynchronously shows the Window over the element specified by ElementReference.
ShowAtAsync(Double, Double, CancellationToken) Asynchronously shows the Window at the specified coordinates.
ShowAtAsync(Point, CancellationToken) Asynchronously shows the Window at the specified point.
ShowAtAsync(String, CancellationToken) Asynchronously shows the Window over the element specified by a selector.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Closed Fires after the Window is closed.
Closing Fires before the Window is closed.
Created Fires after the Window is created.
Disposed Fires after the Window is disposed.
DragCompleted Fires after the Window is dragged.
DragStarted Fires when a user starts to drag the Window.
ResizeCompleted Fires after the Window is resized.
ResizeStarted Fires when a user starts to resize the Window.
Showing Fires before the Window is displayed.
Shown Fires after the Window is displayed.
VisibleChanged Fires when the Window changes its Visible property value.
See Also