Back to Devexpress

DxWindow Members

blazor-devexpress-dot-blazor-dot-dxwindow-dot-underscore-members.md

latest10.9 KB
Original Source

DxWindow Members

A non-modal window with custom content.

Constructors

NameDescription
DxWindow()Initializes a new instance of the DxWindow class.

Properties

NameDescription
AllowDragSpecifies whether users can drag the Window.
AllowDragByHeaderOnlySpecifies whether a user can start window drag-and-drop in the header only or anywhere in the client area.
AllowResizeSpecifies whether users can resize the Window.
AttributesSpecifies a collection of standard HTML attributes applied to the Window.
BodyContentTemplateSpecifies a template for content of the window’s body.
BodyCssClassAssigns a CSS class to the Window’s body.
BodyTemplateSpecifies a template for the window’s body. Replaces the default render fragment (including paddings, scrollbars, etc.)
BodyTextSpecifies text displayed in the Window body.
BodyTextTemplateSpecifies the template for the Window’s body text area.
ChildContentSpecifies body content.
CloseOnEscapeSpecifies whether the Window should close when a user presses Escape.
ContentLoadModeSpecifies when the popup window content is loaded.
CssClassAssigns a CSS class to the window.
FooterContentTemplateSpecifies a template for content of the window’s footer.
FooterCssClassAssigns a CSS class to the footer.
FooterTemplateSpecifies a template for the window’s footer. Replaces the default render fragment (including paddings, scrollbars, etc.)
FooterTextSpecifies text displayed in the Window footer.
FooterTextTemplateSpecifies the template for the Window’s footer text area.
HeaderContentTemplateSpecifies a template for content of the window’s header.
HeaderCssClassAssigns a CSS class to the header.
HeaderTemplateSpecifies a template for the window’s header. Replaces the default render fragment (including paddings, scrollbars, etc.)
HeaderTextSpecifies text displayed in the Window header.
HeaderTextTemplateSpecifies the template for the Window’s header text area.
HeightSpecifies the Window’s height.
HorizontalAlignmentSpecifies the Window’s horizontal alignment.
IdSpecifies the component’s unique identifier.
InitializedTaskThe task that allows you to wait until the Window is initialized.
IsInitializedGets whether the Window component is initialized.
MaxHeightSpecifies the Window’s maximum height.
MaxWidthSpecifies the Window’s maximum width.
MinHeightSpecifies the Window’s minimum height.
MinWidthSpecifies the Window’s minimum width.
PositionXSpecifies the X coordinate of the Window’s top left corner.
PositionYSpecifies the Y coordinate of the Window’s top left corner.
ScrollableSpecifies whether the vertical scrollbar appears in the Window if its content exceeds the Window’s boundaries.
ShowCloseButtonSpecifies whether the Window’s header displays the Close button.
ShowFooterSpecifies whether the Window displays the footer.
ShowHeaderSpecifies whether the Window displays the header.
SizeModeSpecifies the size of the component and its content.
VerticalAlignmentSpecifies the Window’s vertical alignment.
VisibleSpecifies whether the Window is visible.
WidthSpecifies the Window’s width.
ZIndexSpecifies the Window’s z-index.

Methods

NameDescription
CloseAsync(CancellationToken)Asynchronously closes the Window.
DisposeAsync()Asynchronously disposes of the Window.
Equals(Object, Object) staticDetermines 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() protectedCreates 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) staticDetermines 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

NameDescription
ClosedFires after the Window is closed.
ClosingFires before the Window is closed.
CreatedFires after the Window is created.
DisposedFires after the Window is disposed.
DragCompletedFires after the Window is dragged.
DragStartedFires when a user starts to drag the Window.
ResizeCompletedFires after the Window is resized.
ResizeStartedFires when a user starts to resize the Window.
ShowingFires before the Window is displayed.
ShownFires after the Window is displayed.
VisibleChangedFires when the Window changes its Visible property value.

See Also

DxWindow Class

DevExpress.Blazor Namespace