Wisej.Web.UserPopup
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides an popup container that can be attached to other controls.
Initializes a new instance of the UserPopup control.
Initializes a new instance of the UserPopup control.
Name | Type | Description |
---|---|---|
Placement: Returns or sets the alignment side and position of the popup. The actual location depends on the placement methods defined by the PlacementX and PlacementY properties. (Default: BottomLeft
)
Boolean: Determines whether the popup will close automatically when the user clicks outside of the control. (Default: True
)
Color: Returns or sets the background color for the control.
Padding: Returns or sets the offset in pixels from the calculated position of the popup.
IWisejComponent: Returns the opener Control. It may be null if the popup was shown without specifying an opener.
PlacementMode: Returns or sets the method used to calculate the position of the popup according to the value of the Alignment property. (Default: KeepAlign
)
PlacementMode: Returns or sets the method used to calculate the position of the popup according to the value of the Alignment property. (Default: KeepAlign
)
Boolean: Returns or sets whether the user can give the focus to this control using the TAB key and the Focusable property is set to true. (Default: True
)
Boolean: Returns or sets whether the control and all its child controls are displayed.
Closes the UserPopup.
Shows the UserPopup in relation to the specified opener .
Throws:
ArgumentNullException opener is null.
ArgumentException opener is the same UserPopup.
Shows the UserPopup at the specified screen coordinates.
Shows the UserPopup at the specified screen location.
Asynchronously displays the UserPopup in relation to the specified opener .
Returns: Task.
Throws:
ArgumentNullException opener is null.
ArgumentException opener is the same UserPopup.
Asynchronously displays the UserPopup at the specified screen coordinates.
Returns: Task.
Asynchronously displays the UserPopup at the specified screen location.
Returns: Task.
EventHandler Fired when the UserPopup control is closed.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
opener
The IWisejComponent that this UserPopup is bound to. It can be any component that is visually displayed on the client side, including Control, DataGridViewColumn, ColumnHeader, DesktopTaskBarItem, ToolBarButton.
x
The horizontal position in pixels, relative to the screen.
y
The vertical position in pixels, relative to the screen.
location
The location in pixels, relative to the screen.
Bindable components implement this interface.
Provides the functionality for a control to act as a parent for other controls.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
opener
The IWisejComponent that this UserPopup is bound to. It can be any component that is visually displayed on the client side, including Control, DataGridViewColumn, ColumnHeader, DesktopTaskBarItem, ToolBarButton.
Optional async handler for the close event; called when the popup panel disappears. It's the equivalent of handling the event.
x
The horizontal position in pixels, relative to the screen.
y
The vertical position in pixels, relative to the screen.
Optional async handler for the close event; called when the popup panel disappears. It's the equivalent of handling the event.
location
The location in pixels, relative to the screen.
Optional async handler for the close event; called when the popup panel disappears. It's the equivalent of handling the event.
container
A IContainer that represents the container for the popup control.
onclose
onclose
onclose