FineUIPro 11.6
企业级 ASP.NET UI 控件库
载入中...
搜索中...
未找到
FineUIPro.ControlUtil类 参考

控件相关帮助函数 更多...

静态 Public 成员函数

static Control FindParentControl (Control control, Type controlType, Boolean checkSubclassOf)
 查找父控件
 
static Control FindParentControl (Control control, Type controlType)
 查找父控件
 
static JsArrayBuilder GetControlClientIDs (string[] serverIDs)
 获得服务器控件ID的客户端ID数组
 
static JsArrayBuilder GetControlClientIDs (Control ctrl, string[] serverIDs)
 获得服务器控件ID的客户端ID数组
 
static UserControl FindParentUserControl (Control ctrl)
 查找父层次结构中是否存在用户控件
 
static Control FindControl (string findControlID)
 根据控件ID查找控件
 
static Control FindControl (Type controlType)
 根据控件类型查找控件
 
static Control FindControl (Control control, string findControlId)
 在父控件的所有子控件中查找控件
 
static Control FindControl (Control control, Type controlType)
 在父控件的所有子控件中查找控件
 

详细描述

控件相关帮助函数

成员函数说明

◆ FindControl() [1/4]

static Control FineUIPro.ControlUtil.FindControl ( Control  control,
string  findControlId 
)
static

在父控件的所有子控件中查找控件

参数
control父控件
findControlId要查找的控件ID
返回
找到的控件

◆ FindControl() [2/4]

static Control FineUIPro.ControlUtil.FindControl ( Control  control,
Type  controlType 
)
static

在父控件的所有子控件中查找控件

参数
control父控件
controlType要查找的控件类型
返回
找到的控件

◆ FindControl() [3/4]

static Control FineUIPro.ControlUtil.FindControl ( string  findControlID)
static

根据控件ID查找控件

参数
findControlID要查找的控件ID
返回
找到的控件

◆ FindControl() [4/4]

static Control FineUIPro.ControlUtil.FindControl ( Type  controlType)
static

根据控件类型查找控件

参数
controlType要查找的控件类型
返回
找到的控件

◆ FindParentControl() [1/2]

static Control FineUIPro.ControlUtil.FindParentControl ( Control  control,
Type  controlType 
)
static

查找父控件

参数
control当前控件
controlType查找控件的类型
返回
找到的第一个父控件

◆ FindParentControl() [2/2]

static Control FineUIPro.ControlUtil.FindParentControl ( Control  control,
Type  controlType,
Boolean  checkSubclassOf 
)
static

查找父控件

参数
control当前控件
controlType查找控件的类型
checkSubclassOf如果找到的控件实例继承自controlType,同样也认为是找到了
返回
找到的第一个父控件

◆ FindParentUserControl()

static UserControl FineUIPro.ControlUtil.FindParentUserControl ( Control  ctrl)
static

查找父层次结构中是否存在用户控件

参数
ctrl当前控件
返回
父层次中的用户控件

◆ GetControlClientIDs() [1/2]

static JsArrayBuilder FineUIPro.ControlUtil.GetControlClientIDs ( Control  ctrl,
string[]  serverIDs 
)
static

获得服务器控件ID的客户端ID数组

参数
ctrl优先在ctrl所在的用户控件中查找
serverIDs
返回

◆ GetControlClientIDs() [2/2]

static JsArrayBuilder FineUIPro.ControlUtil.GetControlClientIDs ( string[]  serverIDs)
static

获得服务器控件ID的客户端ID数组

参数
serverIDs
返回

该类的文档由以下文件生成: