点击或拖拽改变大小

WebView 类

网页控件
继承层次

命名空间:  Smobiler.Core.Controls
程序集:  Smobiler.Core (在 Smobiler.Core.dll 中) 版本:6.0.641.16928
语法
public class WebView : MobileControl

WebView 类型公开以下成员。

构造函数
  名称说明
公共方法WebView
初始化 WebView 类的一个新实例
Top
属性
  名称说明
公共属性BackColor
获取或设置控件的背景色。
(继承自 MobileControl。)
公共属性Border
获取或设置控件边框
(继承自 MobileControl。)
公共属性BorderColor
获取或设置控件边框颜色
(继承自 MobileControl。)
公共属性BorderRadius
获取和设置控件边框角度
(继承自 MobileControl。)
公共属性BorderStyle
获取和设置控件边框线样式
(继承自 MobileControl。)
公共属性Bottom
获取和设置控件下边缘距离父控件的距离。
(继承自 MobileControl。)
公共属性Bounds
获取或设置控件(包括其非工作区元素)的大小和位置。
(继承自 MobileControl。)
公共属性DesignStyle
获取和设置包括有关控件的样式
(继承自 MobileControlBase。)
公共属性Dock
设置和获取控件停靠的位置和方式
(继承自 MobileControl。)
公共属性Flex
获取和设置一个值,该值代表FlexGrow和FlexShrink的组合。
(继承自 MobileControl。)
公共属性Form
获取控件所属的窗体
(继承自 MobileControlBase。)
公共属性GeoLocationEnabled
获取和设置一个值,该值指示是否允许浏览器获取位置信息
公共属性Headers
获取和设置Web头
公共属性Height
获取或设置控件的高度。
(继承自 MobileControl。)
公共属性InvokeRequired
获取一个值,该值指示在更新UI属性时,是否使用使用UI线程委托。
(继承自 MobileControlBase。)
公共属性IsLoaded
获取一个值,该值表示当前窗口 MobileForm 是否已经载入。
(继承自 MobileControlBase。)
公共属性LayoutPercentage
获取和设置布局百分比
(继承自 MobileControl。)
公共属性Left
获取或设置控件距离容器控件左边缘的 x 坐标。
(继承自 MobileControl。)
公共属性Location
获取或设置该控件的左上角相对于其容器的左上角的坐标。
(继承自 MobileControl。)
公共属性Margin
获取或设置控件边框与边框外控件间隔距离
(继承自 MobileControl。)
公共属性MaxHeightRate
获取和设置控件最大高度比例
(继承自 MobileControl。)
公共属性MinHeightRate
获取和设置控件最小高度比例
(继承自 MobileControl。)
公共属性MixedContentMode
获取和设置混合内容模式
公共属性Name
获取或设置控件的名称。
(继承自 MobileControlBase。)
公共属性Owner
获取或设置控件的布局控件MobileLayoutControl。
(继承自 MobileControlBase。)
公共属性Padding
获取或设置控件边框与边框内控件间隔距离
(继承自 MobileControl。)
公共属性Parent
获取或设置控件的父控件MobileContainerControl。
(继承自 MobileControlBase。)
公共属性Position
获取和设置布局
(继承自 MobileControl。)
公共属性Right
获取和设置控件右边缘距离父控件的距离。
(继承自 MobileControl。)
公共属性ScalesPageToFit
获取和设置一个值,该值指示是否要把网页缩放到适应视图的大小,以及是否允许用户改变缩放比例
公共属性SelfAlign
获取和设置一个值,该值代表覆盖容器侧轴的对齐方式。
(继承自 MobileControl。)
公共属性SelfLayout
获取和设置控件自身布局。
(继承自 MobileControl。)
公共属性Shadow
获取和设置控件阴影
(继承自 MobileControl。)
公共属性Size
获取或设置控件的高度和宽度。
(继承自 MobileControl。)
公共属性TabIndex
获取或设置在控件的容器的控件的 Tab 键顺序。
(继承自 MobileControl。)
公共属性Tag
获取或设置包含有关控件的数据的对象。
(继承自 MobileControlBase。)
公共属性Top
获取或设置控件的上边缘的 y 坐标。
(继承自 MobileControl。)
公共属性Url
获取和设置网页地址
公共属性Visible
获取或设置一个值,该值指示是否显示该控件。
(继承自 MobileControl。)
公共属性Width
获取或设置控件的宽度。
(继承自 MobileControl。)
公共属性ZIndex
获取和设置一个值,该值表示在Z轴上的显示顺序。
(继承自 MobileControl。)
Top
方法
  名称说明
公共方法ClearCookies
清理浏览器Cookie
公共方法GetPropertyInitialValue
根据属性名称获取STML协议中的属性默认值
(继承自 MobileControlBase。)
公共方法GoBack
后退
公共方法GoForward
前进
公共方法Invoke(Delegate) (继承自 MobileControlBase。)
公共方法Invoke(Delegate, Object) (继承自 MobileControlBase。)
公共方法PostMessage
向浏览器发送消息
公共方法Refresh
重新载入页面
公共方法StopLoading
停止刷新
Top
事件
  名称说明
公共事件OnLoad
在WebView加载完成时发生。
公共事件OnMessage
在WebView控件返回消息时发生。
公共事件PropertyChanged
Occurs when a property value changes
(继承自 MobileControlBase。)
Top
备注