Back to Devexpress

DxDropDown Members

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

latest11.0 KB
Original Source

DxDropDown Members

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

Constructors

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

Properties

NameDescription
AllowResizeSpecifies whether the drop-down window can be resized.
AttributesSpecifies a collection of standard HTML attributes applied to the DropDown.
BodyContentTemplateSpecifies a template for content of the drop-down window’s body.
BodyCssClassAssigns a CSS class to the window body.
BodyTemplateSpecifies a template for the drop-down window’s body. Replaces the default render fragment (including paddings, scrollbars, etc.)
BodyTextSpecifies the text displayed in the window body.
BodyTextTemplateSpecifies a template for the drop-down window’s body text area.
ChildContentSpecifies body content.
CloseModeSpecifies how the DropDown behaves when it does not meet the position restrictions.
CloseOnOutsideClickSpecifies whether the drop-down window should be closed when a user clicks outside the window’s boundaries.
ContentLoadModeSpecifies when the drop-down window content is loaded.
CssClassAssigns a CSS class to a drop-down window.
FitToRestrictionSpecifies whether the DropDown can overlap restriction boundaries.
FocusOnOpenSpecifies whether the drop-down window receives focus when it opens. Available in v25.2.6+.
FooterContentTemplateSpecifies a template for content of the drop-down window’s footer.
FooterCssClassAssigns a CSS class to the footer.
FooterTemplateSpecifies a template for the drop-down window’s footer. Replaces the default render fragment (including paddings, scrollbars, etc.)
FooterTextSpecifies the text displayed in the window footer.
FooterTextTemplateSpecifies a template for the drop-down window’s footer text area.
FooterVisibleSpecifies the window footer visibility.
HeaderContentTemplateSpecifies a template for content of the drop-down window’s header.
HeaderCssClassAssigns a CSS class to the header.
HeaderTemplateSpecifies a template for the drop-down window’s header. Replaces the default render fragment (including paddings, scrollbars, etc.)
HeaderTextSpecifies the text displayed in the window header.
HeaderTextTemplateSpecifies a template for the drop-down window’s header text area.
HeaderVisibleSpecifies the window header visibility.
HeightSpecifies the drop-down window height.
HorizontalOffsetGets the window’s horizontal offset.
IdSpecifies the control’s unique identifier.
InitializedTaskThe task that allows you to wait until the drop-down window is initialized.
IsInitializedGets whether the DropDown component is initialized.
IsOpenSpecifies whether the drop-down window is open.
MaxHeightSpecifies the maximum height of the drop-down window.
MaxWidthSpecifies the maximum width of the drop-down window.
MinHeightSpecifies the minimum height of the drop-down window.
MinWidthSpecifies the minimum width of the drop-down window.
PositionModeSpecifies how to position the drop-down window.
PositionRectangleSpecifies a rectangle object relative to the drop-down window’s position.
PositionTargetSpecifies the UI element relative to the drop-down window’s position.
PreventCloseOnPositionTargetClickSpecifies whether the drop-down window should be closed when a user clicks the position target element.
RestrictionModeSpecifies an element that restricts the DropDown position.
RestrictionRectangleSpecifies a rectangle object that restricts the DropDown position.
RestrictionTargetSpecifies a target element that restricts the DropDown position.
ScrollableSpecifies whether the vertical scrollbar appears in the drop-down window if its content exceeds the window’s boundaries.
SizeModeSpecifies the size of the component and its content.
StopOutsideClickPropagationSpecifies whether the control halts an outer click propagation.
VerticalOffsetGets the window’s vertical offset.
WidthSpecifies the drop-down window width.

Methods

NameDescription
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) 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.
ReferenceEquals(Object, Object) staticDetermines 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

NameDescription
ClosedFires after the drop-down window is closed.
ClosingFires before the drop-down window is closed.
DisposedFires after the drop-down window is disposed.
InitializedFires after the drop-down window is initialized.
IsOpenChangedFires when the DropDown opens or closes.
ResizeCompletedFires after the DropDown is resized.
ResizeStartedFires when a user starts to resize the DropDown.
ShowingFires before the drop-down window is displayed.
ShownFires after the drop-down window is displayed.

See Also

DxDropDown Class

DevExpress.Blazor Namespace