Skip to main content
All docs
V24.1

HtmlContentPopup Members

Allows you to show a popup window with a UI rendered from an HTML-CSS template. Can show data from a bound data context (a business object or data source item).

Constructors

Name Description
HtmlContentPopup() Initializes a new instance of the HtmlContentPopup class.
HtmlContentPopup(IContainer) Initializes a new instance of the HtmlContentPopup class with specified settings.

Properties

Name Description
Appearance Contains the window’s appearance settings.
AutoHidingDelay Gets or sets a delay after which the HtmlContentPopup (opened as a popup window) is automatically closed if the HtmlContentPopup.HideAutomatically property is enabled.
AutoHidingProlongationDelay
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
Container Gets the IContainer that contains the Component. Inherited from Component.
ContainerControl
DataContext Gets or sets the window’s data context (a business object or data source item).
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
HideAutomatically Gets or sets whether the HtmlContentPopup (opened as a popup window) is automatically closed after a specific delay (HtmlContentPopup.AutoHidingDelay).
HideOnElementClick Gets or sets whether the HtmlContentPopup is hidden when a user clicks any element within this popup.
HtmlImages Gets or sets the source of images to display using <img> tags.
HtmlTemplate Gets the window’s HTML-CSS template.
IsDesignMode
IsViewModelCreated
Site Gets or sets the ISite of the Component. Inherited from Component.
Tag Gets or sets an object that stores custom data.
ToolTipController Gets or sets the component that controls the behavior and appearance of hints displayed for HTML elements.
UseDirectXPaint
ViewModelType

Methods

Name Description
Activate() Activates the current window.
BindCommand(Expression<Action>, Object, String, Func<Object>) Uses the command selector to find an appropriate parameterized MVVM command in the source, and binds this command to the target HTML element.
BindCommand(Object, String, Func<Object>) Binds the parameterized MVVM command to the target HTML element.
BindCommand<T>(Expression<Action<T>>, Object, String, Func<T>) Uses the command selector to find an appropriate parameterized MVVM command in the source, and binds this command to the target HTML element.
CalcBestSize(IWin32Window, Int32) Calculates the popup size required to fit its content without exceeding the maximum width.
Close() Closes the window.
Close(DialogResult) Closes the HtmlContentPopup object that was opened as a modal window, and sets the dialog result.
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
CreateWindowService(IWin32Window)
Dispose() Releases all resources used by the Component. Inherited from Component.
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.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
Hide() Makes the window invisible.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
OfType<TViewModel>()
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetViewModel(Type, Object)
Show(IWin32Window, Rectangle) Displays the HtmlContentPopup as a popup window within the specified bounds.
ShowDialog(IWin32Window, Rectangle) Displays the HtmlContentPopup object as a modal window within the specified bounds.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.
UpdateLayout()

Events

Name Description
Closed Fires after the window is closed. This is a notification event.
Closing Fires when the window is about to be closed. Allows you to cancel the close operation.
CustomDisplayText Allows you to specify custom display text for bound field values.
CustomizeTemplate Fires before a popup is shown on-screen and allows you to modify the HTML-CSS template of this HtmlContentPopup component.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
ElementLoad
ElementMouseClick Occurs when a user clicks any HTML element.
ElementMouseDoubleClick Occurs when a user double-clicks any HTML element.
ElementMouseDown Occurs when a mouse button is pressed over an HTML element.
ElementMouseMove Occurs when a mouse pointer moves while over an HTML element.
ElementMouseOut Occurs when a mouse pointer leaves the bounds of an HTML element.
ElementMouseOver Occurs when a mouse pointer enters the bounds of an HTML element.
ElementMouseUp Occurs when a mouse button pressed over an HTML element is released.
Hidden Fires when a window is hidden.
ViewModelRelease
ViewModelSet
See Also