Back to Devexpress

HtmlContentPopup Members

windowsforms-devexpress-dot-xtraeditors-dot-htmlcontentpopup-dot-underscore-members.md

latest15.5 KB
Original Source

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

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

Properties

NameDescription
AppearanceContains the window’s appearance settings.
AutoHidingDelayGets 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 protectedGets a value indicating whether the component can raise an event. Inherited from Component.
ContainerGets the IContainer that contains the Component. Inherited from Component.
ContainerControl
DataContextGets or sets the window’s data context (a business object or data source item).
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
HideAutomaticallyGets or sets whether the HtmlContentPopup (opened as a popup window) is automatically closed after a specific delay (HtmlContentPopup.AutoHidingDelay).
HideOnElementClickGets or sets whether the HtmlContentPopup is hidden when a user clicks any element within this popup.
HtmlImagesGets or sets the source of images to display using `` tags.
HtmlTemplateGets the window’s HTML-CSS template.
IsDesignMode
IsViewModelCreated
SiteGets or sets the ISite of the Component. Inherited from Component.
TagGets or sets an object that stores custom data.
ToolTipControllerGets or sets the component that controls the behavior and appearance of hints displayed for HTML elements.
UseDirectXPaint
ViewModelType

Methods

NameDescription
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) 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.
GetLifetimeService()Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protectedReturns 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
OfType<TViewModel>()
ReferenceEquals(Object, Object) staticDetermines 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

NameDescription
ClosedFires after the window is closed. This is a notification event.
ClosingFires when the window is about to be closed. Allows you to cancel the close operation.
CustomDisplayTextAllows you to specify custom display text for bound field values.
CustomizeTemplateFires before a popup is shown on-screen and allows you to modify the HTML-CSS template of this HtmlContentPopup component.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
ElementLoad
ElementMouseClickOccurs when a user clicks any HTML element.
ElementMouseDoubleClickOccurs when a user double-clicks any HTML element.
ElementMouseDownOccurs when a mouse button is pressed over an HTML element.
ElementMouseMoveOccurs when a mouse pointer moves while over an HTML element.
ElementMouseOutOccurs when a mouse pointer leaves the bounds of an HTML element.
ElementMouseOverOccurs when a mouse pointer enters the bounds of an HTML element.
ElementMouseUpOccurs when a mouse button pressed over an HTML element is released.
HiddenFires when a window is hidden.
ViewModelRelease
ViewModelSet

See Also

HtmlContentPopup Class

DevExpress.XtraEditors Namespace