MobileControlCollectionFind 方法 |
根据控件的 Smobiler.Core.Control.Name 属性搜索控件并返回匹配项。
命名空间:
Smobiler.Core.Controls
程序集:
Smobiler.Core (在 Smobiler.Core.dll 中) 版本:6.0.651.17422+f85e28ffe3fdebbfe720c8c2dde0db495f1a52ab
语法public MobileControl Find(
string name,
bool childControl = false
)
Public Function Find (
name As String,
Optional childControl As Boolean = false
) As MobileControl
参数
- name
- 类型:SystemString
控件名称 - childControl (Optional)
- 类型:SystemBoolean
是否在子控件中查找
返回值
类型:
MobileControl查找到的控件,若不存在指定控件的名称,返回null
备注
参见