SwebLayoutControlShowDialog 方法 (SwebUserControl, EventHandler) |
弹出用户控件界面
命名空间:
Swebui.Controls
程序集:
Swebui.Core (在 Swebui.Core.dll 中) 版本:1.0.133.17134+2c49d126d464232ac9a5157f96561862d8e39182
语法public void ShowDialog(
SwebUserControl control,
EventHandler closedHandler = null
)
Public Sub ShowDialog (
control As SwebUserControl,
Optional closedHandler As EventHandler = Nothing
)
参数
- control
- 类型:Swebui.ControlsSwebUserControl
用户控件 - closedHandler (Optional)
- 类型:SystemEventHandler
[缺少 "M:Swebui.Controls.SwebLayoutControl.ShowDialog(Swebui.Controls.SwebUserControl,System.EventHandler)" 的 <param name="closedHandler"/> 文档]
备注
在不再使用弹出用户控件界面时,使用DestroyDialog方法销毁,否则会常驻客户端内存
默认的DialogOptions为:
JustifyAlign = Center,
Padding = 20,
BackColor = 200,128,128,128,
AnimationType = None,
TouchClosed = true
参见