Skip to main content

DxDropDown Members

A control that displays a drop-down window with custom content.

Constructors

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

Properties

Name Description
AllowResize Specifies whether the drop-down window can be resized.
BodyContentTemplate Specifies a template for content of the drop-down window’s body.
BodyCssClass Assign a CSS class to the window body.
BodyTemplate Specifies a template for the drop-down window’s body. Replaces the default render fragment (including paddings, scrollbars, etc.)
BodyText Specifies the text displayed in the window body.
BodyTextTemplate Specifies a template for the drop-down window’s body text area.
CloseMode Specifies how the DropDown behaves when it does not meet the position restrictions.
CloseOnOutsideClick Specifies whether the drop-down window should be closed when a user clicks outside the window’s boundaries.
CssClass Assign a CSS class to a drop-down window.
FitToRestriction Specifies whether the DropDown can overlap restriction boundaries.
FooterContentTemplate Specifies a template for content of the drop-down window’s footer.
FooterCssClass Assign a CSS class to the footer.
FooterTemplate Specifies a template for the drop-down window’s footer. Replaces the default render fragment (including paddings, scrollbars, etc.)
FooterText Specifies the text displayed in the window footer.
FooterTextTemplate Specifies a template for the drop-down window’s footer text area.
FooterVisible Specifies the window footer visibility.
HeaderContentTemplate Specifies a template for content of the drop-down window’s header.
HeaderCssClass Assign a CSS class to the header.
HeaderTemplate Specifies a template for the drop-down window’s header. Replaces the default render fragment (including paddings, scrollbars, etc.)
HeaderText Specifies the text displayed in the window header.
HeaderTextTemplate Specifies a template for the drop-down window’s header text area.
HeaderVisible Specifies the window header visibility.
Height Specifies the drop-down window height.
HorizontalOffset Gets the window’s horizontal offset.
Id Specifies the control’s unique identifier.
InitializedTask The task that allows you to wait until the drop-down window is initialized.
IsInitialized Gets whether the DropDown component is initialized.
IsOpen Specifies whether the drop-down window is open.
MaxHeight Specifies the maximum height of the drop-down window.
MaxWidth Specifies the maximum width of the drop-down window.
MinHeight Specifies the minimum height of the drop-down window.
MinWidth Specifies the minimum width of the drop-down window.
PositionMode Specifies how to position the drop-down window.
PositionRectangle Specifies a rectangle object relative to the drop-down window’s position.
PositionTarget Specifies the UI element relative to the drop-down window’s position.
PreventCloseOnPositionTargetClick Specifies whether the drop-down window should be closed when a user clicks the position target element.
RestrictionMode Specifies an element that restricts the DropDown position.
RestrictionRectangle Specifies a rectangle object that restricts the DropDown position.
RestrictionTarget Specifies a target element that restricts the DropDown position.
Scrollable Specifies whether the vertical scrollbar appears in the drop-down window if its content exceeds the window’s boundaries.
SizeMode Specifies the size of a dialog’s inner elements. Also affects a dialog’s size and content. Inherited from DxSizableComponentBase.
StopOutsideClickPropagation Specifies whether the control halts an outer click propagation.
VerticalOffset Gets the window’s vertical offset.
Width Specifies the drop-down window width.

Methods

Name Description
ActivateAsync(CancellationToken) Moves the drop-down window to the front of other popup elements.
CloseAsync(CancellationToken) Asynchronously closes the drop-down window.
DisposeAsync() Asynchronously disposes the drop-down 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.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RepositionAsync(CancellationToken) Repositions the DropDown based on the position settings.
ShowAsync(CancellationToken) Asynchronously shows the drop-down window.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Closed Fires after the drop-down window is closed.
Closing Fires before the drop-down window is closed.
Disposed Fires after the drop-down window is disposed.
Initialized Fires after the drop-down window is initialized.
IsOpenChanged Fires when the DropDown opens or closes.
ResizeCompleted Fires after the DropDown is resized.
ResizeStarted Fires when a user starts to resize the DropDown.
Showing Fires before the drop-down window is displayed.
Shown Fires after the drop-down window is displayed.
See Also