All pages
Powered by GitBook
1 of 3

Loading...

Loading...

Loading...

HtmlPanelElementClickHandler

Wisej.Web.HtmlPanelElementClickHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the ElementClick event.

public delegate void HtmlPanelElementClickHandler(Object sender, HtmlPanelElementClickArgs e)
Public Delegate Sub HtmlPanelElementClickHandler(ByVal sender As [Object], ByVal e As HtmlPanelElementClickArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

sender

Object

The source of the event.

e

HtmlPanelElementClickArgs

A HtmlPanelElementClickArgs that contains the event data.

HtmlPanel.ElementClick

Fired when the user clicks on any element inside the html panel.

HtmlPanelElementClickArgs

Wisej.Web.HtmlPanelElementClickArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the HtmlPanelElementClickArgs event handler.

public class HtmlPanelElementClickArgs : EventArgs
Public Class HtmlPanelElementClickArgs
    Inherits EventArgs

Constructors

HtmlPanelElementClickArgs()

Initializes a new instance of the class.

HtmlPanelElementClickArgs(element, role)

Initializes a new instance of the class.

Name
Type
Description

Properties

Element

: Returns the HTML of the element that was clicked in the panel.

Role

: Returns the role attribute assigned to the element that generated the event.

The value in the Role property is taken from the "role" attribute of the clicked element inside the widget.

Used By

Name
Description

HtmlPanel

Wisej.Web.HtmlPanel

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents a control that displays any HTML file and a corresponding CSS style sheet as embedded HTML.

element

String

Outer HTML of the clicked element.

role

String

Value of the "role" attribute of the clicked element.

HtmlPanelElementClickHandler

Represents the method that will handle the ElementClick event.

HtmlPanelElementClickArgs
HtmlPanelElementClickArgs
String
HtmlPanel
String
public class HtmlPanel : Control
Public Class HtmlPanel
    Inherits Control

Constructors

HtmlPanel()

Initializes a new instance of the HtmlPanel class.

Properties

AllowNavigation

Boolean: Returns or sets whether clicking on a link in the Html panel can navigate to the URL specified in the link.

BorderStyle

BorderStyle: Indicates the border style for the control.

Css

String: Returns or sets the CSS rules to apply to the html content.

Html

String: Returns or sets the HTML text to display in the HtmlPanel control.

HtmlSource

String: Returns or sets the html file name to display in the HtmlPanel control.

ScrollBars

ScrollBars: Returns or sets the type of scroll bars to display for the HtmlPanel control.

StyleSheetSource

String: Returns or sets the css file name to apply to the html text in HtmlPanel control.

Events

ElementClick

HtmlPanelElementClickHandler Fired when the user clicks on any element inside the html panel.

HtmlChanged

EventHandler Fired when the Html property is changed.

HtmlSourceChanged

EventHandler Fired when the HtmlSource property is changed.

Implements

Name
Description

Bindable components implement this interface.

All wisej components implement this interface.

All wisej controls derived from the class must implement this interface.

Allows an object to serialize itself.

Control
HtmlPanel
IBindableComponent
IWisejComponent
IWisejControl
Control
IWisejSerializable