Skip to main content
Version: 4.1

IFramePanel

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a control that displays any HTML file in an IFrame element.

public class IFramePanel : Control

Constructors

Instance member IFramePanel()

Initializes a new instance of IFramePanel.

Properties

Instance member Allow

String: Allows the IFrame to access certain local features when using a cross-origin source. Valid values for allow include: geolocation, microphone, camera, midi, encrypted-media. See deprecating-permissions-in-cross-origin-iframes for more information on the syntax and values to use in this attribute. (Default: null)

Instance member BorderStyle

BorderStyle: Indicates the border style for the control. (Default: None)

Instance member ScrollBars

Boolean: Returns or sets whether the control shows the scrollbars when needed. (Default: True)

Instance member Url

String: Returns or sets the source Url of the IFrame. (Default: "")

Methods

Protected member OnDocumentCompleted(e)

Fires the DocumentCompleted event.

ParameterTypeDescription
eEventArgsA EventArgs that contains the event data.

Protected member OnUrlChanged(e)

Fires the UrlChanged event.

ParameterTypeDescription
eEventArgsA EventArgs that contains the event data.

Protected member OnWebEvent(e)

Processes the event from the client.

ParameterTypeDescription
eWisejEventArgsEvent arguments.

Protected member OnWebRender(config)

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Protected member OnWebUpdate(state)

Updates the client component using the state information.

ParameterTypeDescription
stateObjectDynamic state object.

Instance member Reload()

Reloads the contents of the IFrame.

Events

Instance member DocumentCompleted

EventHandler Fired when the IFrame has finished loading the document.

Instance member UrlChanged

EventHandler Fired when the Url property is changed.

Inherited By

NameDescription
AspNetPanelRepresents a control that can host ASP.NET or MVC pages within a Wisej application.

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.