FineUI.Core 16.3.0
.NET 企业级全栈 UI 框架
载入中...
搜索中...
未找到
FineUI.Core.GridRowCommandEventArgs类 参考

表格命令事件参数 更多...

Public 成员函数

 GridRowCommandEventArgs (int rowIndex, string rowID, int columnIndex, string columnID, string commandName, string commandArgument)
 构造函数

属性

int RowIndex [get]
 行索引
string RowID [get]
 行ID
int ColumnIndex [get]
 当前表格中从零开始的可见列序号(隐藏列和分组标题不计入)。隐藏、显示或拖动列后, 序号可能变化,因此只适合说明当前显示位置,不建议用于识别业务列。需要稳定识别列时, 请为该列显式设置 ColumnID,并使用事件参数的 ColumnID;判断点击了哪项操作时使用 CommandName。
string ColumnID [get]
 点击列的浏览器标识符。未显式设置 ColumnID 的无字段列可能使用浏览器临时值; 需要跨回发稳定识别列时,请在声明中设置 ColumnID。
string CommandName [get]
 命令名称
string CommandArgument [get]
 命令参数

详细描述

表格命令事件参数

构造及析构函数说明

◆ GridRowCommandEventArgs()

FineUI.Core.GridRowCommandEventArgs.GridRowCommandEventArgs ( int rowIndex,
string rowID,
int columnIndex,
string columnID,
string commandName,
string commandArgument )

构造函数

参数
rowIndex行索引
rowID行ID
columnIndex列索引
columnID列标识符
commandName命令名称
commandArgument命令参数

属性说明

◆ ColumnID

string FineUI.Core.GridRowCommandEventArgs.ColumnID
get

点击列的浏览器标识符。未显式设置 ColumnID 的无字段列可能使用浏览器临时值; 需要跨回发稳定识别列时,请在声明中设置 ColumnID。

◆ ColumnIndex

int FineUI.Core.GridRowCommandEventArgs.ColumnIndex
get

当前表格中从零开始的可见列序号(隐藏列和分组标题不计入)。隐藏、显示或拖动列后, 序号可能变化,因此只适合说明当前显示位置,不建议用于识别业务列。需要稳定识别列时, 请为该列显式设置 ColumnID,并使用事件参数的 ColumnID;判断点击了哪项操作时使用 CommandName。

◆ CommandArgument

string FineUI.Core.GridRowCommandEventArgs.CommandArgument
get

命令参数

◆ CommandName

string FineUI.Core.GridRowCommandEventArgs.CommandName
get

命令名称

◆ RowID

string FineUI.Core.GridRowCommandEventArgs.RowID
get

行ID

◆ RowIndex

int FineUI.Core.GridRowCommandEventArgs.RowIndex
get

行索引


该类的文档由以下文件生成:
  • GridRowCommandArgs.cs