aardio 文档

dotNet.AntdUI 库模块帮助文档

dotNet 成员列表 #

dotNet.AntdUI #

导入 .NET 组件 AntdUI 与 AntdUI 名字空间。
导入此库以后 dotNet.AntdUI 与 AntdUI 指向同一名字空间。
在代码中请直接使用 AntdUI 即可。
AntdUI.

AntdUI 成员列表 #

名字空间,
基于 .NET Winforms 开发的界面库。

dotNet.AntdUI 与 AntdUI 指向同一名字空间,请直接使用 AntdUI 名字空间。

AntdUI.Alert() #

创建警告提示控件。
警告提示,展现需要关注的信息。
参数 @1 指定 custom 控件。

返回对象:AntdUIAlertObject

AntdUI.Avatar() #

创建头像控件。
用来代表用户或事物,支持图片、图标或字符展示。
参数 @1 指定 custom 控件。

返回对象:AntdUIפAvatarObject

AntdUI.Badge() #

创建徽标数控件。
图标右上角的圆形徽标数字。
参数 @1 指定 custom 控件。

返回对象:AntdUIBadgeObject

AntdUI.Battery() #

创建电量控件。
展示设备电量。
参数 @1 指定 custom 控件。

返回对象:AntdUIBatteryObject

AntdUI.Breadcrumb() #

创建面包屑控件。
显示当前页面在系统层级结构中的位置,并能向上返回。
参数 @1 指定 custom 控件。

返回对象:AntdUIBreadcrumbObject

返回对象:AntdUIBreadcrumbObject

AntdUI.BreadcrumbItem() #

创建面包屑项。

返回对象:AntdUIBreadcrumbItemObject

AntdUI.Button() #

创建按钮控件。
按钮用于开始一个即时操作。
参数 @1 指定 custom 控件。

返回对象:AntdUIButtonObject

返回对象:AntdUIButtonObject

AntdUI.Calendar() #

创建日历控件。
按照日历形式展示数据的容器。
参数 @1 指定 custom 控件。

返回对象:AntdUICalendarObject

AntdUI.Carousel() #

创建走马灯控件。
旋转木马,一组轮播的区域。
参数 @1 指定 custom 控件。

返回对象:AntdUICarouselObject

AntdUI.CarouselItem() #

创建走马灯项

返回对象:AntdUICarouselItemObject

AntdUI.CellBadge() #

创建表格徽标单元格。
参数 @1 指定文本内容。

返回对象:AntdUICellBadgeObject

AntdUI.CellImage() #

创建表格图片单元格。
参数 @1 指定图片。

返回对象:AntdUICellImageObject

AntdUI.CellLink() #

创建表格链接单元格。
参数 @1 指定链接 ID。

返回对象:AntdUICellLinkObject

AntdUI.CellProgress() #

创建表格进度条单元格。
参数 @1 指定进度值(0-1)。

返回对象:AntdUICellProgressObject

AntdUI.CellSwitch() #

创建表格开关单元格。
参数 @1 指定是否选中。

返回对象:AntdUICellSwitchObject

AntdUI.CellTag() #

创建表格标签单元格。
参数 @1 指定文本内容。

返回对象:AntdUICellTagObject

AntdUI.CellText() #

创建表格文本单元格。
参数 @1 指定文本内容。

返回对象:AntdUICellTextObject

AntdUI.Checkbox() #

创建多选框控件。
参数 @1 指定 custom 控件。

返回对象:AntdUICheckboxObject

AntdUI.Collapse() #

创建折叠面板控件。
可以折叠/展开的内容区域。
参数 @1 指定 custom 控件。

返回对象:AntdUICollapseObject

AntdUI.CollapseItem() #

创建折叠面板项。

返回对象:AntdUICollapseItemObject

AntdUI.ColorPicker() #

创建颜色选择器控件。
提供颜色选取的组件。
参数 @1 指定 custom 控件。

返回对象:AntdUIColorPickerObject

AntdUI.Column() #

创建表格列定义。
参数 @1 指定绑定的属性名。

返回对象:AntdUIColumnObject

AntdUI.ColumnCheck() #

创建表格复选框列。
参数 @1 指定绑定的属性名。

返回对象:AntdUIColumnCheckObject

AntdUI.ColumnRadio() #

创建表格单选框列。
参数 @1 指定绑定的属性名。

返回对象:AntdUIColumnRadioObject

AntdUI.ColumnSwitch() #

创建表格开关列。
参数 @1 指定绑定的属性名。

返回对象:AntdUIColumnSwitchObject

AntdUI.Config #

全局配置类。

AntdUI.ContextMenuStrip() #

创建右键菜单控件。

AntdUI.DatePicker() #

创建日期选择框控件。
输入或选择日期的控件。
参数 @1 指定 custom 控件。

返回对象:AntdUIDatePickerObject

AntdUI.DatePickerRange() #

创建日期范围选择框控件。
输入或选择日期范围的控件。
参数 @1 指定 custom 控件。

返回对象:AntdUIDatePickerRangeObject

AntdUI.Divider() #

创建分割线控件。
区隔内容的分割线。
参数 @1 指定 custom 控件。

返回对象:AntdUIDividerObject

AntdUI.Drawer #

抽屉静态类。
屏幕边缘滑出的浮层面板。

AntdUI.Dropdown() #

创建下拉菜单控件。
向下弹出的列表。
参数 @1 指定 custom 控件。

返回对象:AntdUIDropdownObject

返回对象:AntdUIDropdownObject

AntdUI.FloatButton() #

创建悬浮按钮控件。
参数 @1 指定 custom 控件。

返回对象:AntdUIFloatButtonObject

AntdUI.FlowPanel() #

创建流动布局控件。
按行排列子元素,自动换行。
参数 @1 指定 custom 控件。

返回对象:AntdUIFlowPanelObject

AntdUI.GridPanel() #

创建格栅布局控件。
将内容划分为行和列的网格。
参数 @1 指定 custom 控件。

返回对象:AntdUIGridPanelObject

AntdUI.HyperlinkLabel() #

创建超链接文本控件。
显示带有超链接的文本,支持自定义样式和事件处理。
参数 @1 指定 custom 控件。

返回对象:AntdUIHyperlinkLabelObject

AntdUI.Image3D() #

创建图片 3D 控件。
展示3D效果图片。
参数 @1 指定 custom 控件。

返回对象:AntdUIImage3DObject

AntdUI.ImagePreview() #

创建图片预览控件。
参数 @1 指定 custom 控件。

返回对象:AntdUIImagePreviewObject

AntdUI.Input() #

创建输入框控件。
通过鼠标或键盘输入内容,是最基础的表单域的包装。
参数 @1 指定 custom 控件。

返回对象:AntdUIInputObject

返回对象:AntdUIInputObject

AntdUI.InputNumber() #

创建数字输入框控件。
通过鼠标或键盘,输入范围内的数值。
参数 @1 指定 custom 控件。

返回对象:AntdUIInputNumberObject

AntdUI.Label() #

创建文本控件。
显示一段文本。
参数 @1 指定 custom 控件。

返回对象:AntdUILabelObject

AntdUI.LabelLed() #

创建LED文本控件。
显示一段LED样式的文本。
参数 @1 指定 custom 控件。

返回对象:AntdUILabelLedObject

AntdUI.LabelTime() #

创建时间文本控件。
显示时间文本。
参数 @1 指定 custom 控件。

返回对象:AntdUILabelTimeObject

AntdUI.Menu() #

创建导航菜单控件。
为页面和功能提供导航的菜单列表。
参数 @1 指定 custom 控件。

返回对象:AntdUIMenuObject

AntdUI.MenuItem() #

创建菜单项。
参数 @1 指定菜单文本。

返回对象:AntdUIMenuItemObject

AntdUI.MenuItemCollection #

菜单项集合类。

AntdUI.Message #

全局提示静态类。
全局展示操作反馈信息。

AntdUI.Modal #

模态对话框静态类。

AntdUI.Notification #

通知提醒框静态类。
全局展示通知提醒信息。

AntdUI.ObjectItem() #

创建对象项。

返回对象:AntdUIObjectItem

AntdUI.PageHeader() #

创建页头控件。
页面头部,起到内容概览和引导页级操作的作用。
参数 @1 指定 custom 控件。

返回对象:AntdUIPageHeaderObject

AntdUI.Pagination() #

创建分页控件。
采用分页的形式分隔长列表,每次只加载一个页面。
参数 @1 指定 custom 控件。

返回对象:AntdUIPaginationObject

AntdUI.PaginationItem() #

创建分页项。

返回对象:AntdUIPaginationItemObject

AntdUI.Panel() #

创建面板控件。
内容区域。
参数 @1 指定 custom 控件。

返回对象:AntdUIPanelObject

AntdUI.Popover #

气泡卡片静态类。
弹出气泡式的卡片浮层。

AntdUI.Preview #

图片预览框静态类。
用于展示图片预览。

AntdUI.Progress() #

创建进度条控件。
展示操作的当前进度。
参数 @1 指定 custom 控件。

返回对象:AntdUIProgressObject

AntdUI.ProgressShape #

进度条形状枚举:Line,Circle,Mini,Steps。

AntdUI.Radio() #

创建单选框控件。
参数 @1 指定 custom 控件。

返回对象:AntdUIRadioObject

AntdUI.Rate() #

创建评分控件。
参数 @1 指定 custom 控件。

返回对象:AntdUIRateObject

AntdUI.Segmented() #

创建分段控制器控件。
参数 @1 指定 custom 控件。

返回对象:AntdUISegmentedObject

AntdUI.SegmentedItem() #

创建分段控制器项。

返回对象:AntdUISegmentedItemObject

AntdUI.Select() #

创建选择器控件。
下拉选择器。
参数 @1 指定 custom 控件。

返回对象:AntdUISelectObject

AntdUI.SelectItem() #

创建选择项。

返回对象:AntdUISelectItemObject

AntdUI.Shield() #

创建徽章控件。
展示徽章图标。
参数 @1 指定 custom 控件。

返回对象:AntdUIShieldObject

AntdUI.Signal() #

创建信号强度控件。
展示设备信号。
参数 @1 指定 custom 控件。

返回对象:AntdUISignalObject

AntdUI.Slider() #

创建滑动输入条控件。
滑动型输入器,展示当前值和可选范围。
参数 @1 指定 custom 控件。

返回对象:AntdUISliderObject

AntdUI.SliderRange() #

创建滑动范围输入条控件。
滑动型范围输入器。
参数 @1 指定 custom 控件。

返回对象:AntdUISliderRangeObject

AntdUI.Spin() #

创建加载中控件。
用于页面和区块的加载中状态。
参数 @1 指定 custom 控件。

返回对象:AntdUISpinObject

AntdUI.Splitter() #

创建分隔面板控件。
自由切分指定区域。
参数 @1 指定 custom 控件。

返回对象:AntdUISplitterObject

AntdUI.StackPanel() #

创建堆栈布局控件。
按水平或垂直方向排列子元素。
参数 @1 指定 custom 控件。

返回对象:AntdUIStackPanelObject

AntdUI.StepState #

步骤状态枚举:Wait,Process,Finish,Error。

AntdUI.Steps() #

创建步骤条控件。
引导用户按照流程完成任务的导航条。
参数 @1 指定 custom 控件。

返回对象:AntdUIStepsObject

返回对象:AntdUIStepsObject

AntdUI.StepsItem() #

创建步骤项。

返回对象:AntdUIStepsItemObject

AntdUI.Style #

主题样式类,用于设置浅色深色模式及自定义主题。

AntdUI.Switch() #

创建开关控件。
开关选择器。
参数 @1 指定 custom 控件。

返回对象:AntdUISwitchObject

AntdUI.TAlign #

对齐方式枚举:None,TL,Top,TR,RT,Right,RB,BR,Bottom,BL,LB,Left,LT。

AntdUI.TAlignMini #

对齐方式枚举:None,Left,Top,Right,Bottom。

AntdUI.TFit #

填充方式枚举:Fill,Contain,Cover,None。

AntdUI.TOrientation #

方向枚举:None,Left,Right。

AntdUI.TShape #

形状枚举:Default,Circle,Round。

AntdUI.TType #

类型枚举:None,Success,Info,Warn,Error。

AntdUI.TTypeMini #

类型枚举:Default,Success,Error,Primary,Warn,Info。

AntdUI.TabHeader() #

创建多标签页头控件。
多标签页切换页头。
参数 @1 指定 custom 控件。

返回对象:AntdUITabHeaderObject

AntdUI.TabType #

标签页类型枚举:Line,Card。

AntdUI.Table() #

创建表格控件。
展示行列数据。
参数 @1 指定 custom 控件。

返回对象:AntdUITableObject

返回对象:AntdUITableObject

AntdUI.Tabs() #

创建标签页控件。
选项卡切换组件。
参数 @1 指定 custom 控件。

返回对象:AntdUITabsObject

AntdUI.TabsItem() #

创建标签页项。

返回对象:AntdUITabsItemObject

AntdUI.Tag() #

创建标签控件。
进行标记和分类的小标签。
参数 @1 指定 custom 控件。

返回对象:AntdUITagObject

AntdUI.TimePicker() #

创建时间选择框控件。
输入或选择时间的控件。
参数 @1 指定 custom 控件。

返回对象:AntdUITimePickerObject

AntdUI.Timeline() #

创建时间轴控件。
垂直展示的时间流信息。
参数 @1 指定 custom 控件。

返回对象:AntdUITimelineObject

AntdUI.TimelineItem() #

创建时间轴项。

返回对象:AntdUITimelineItemObject

AntdUI.Tooltip #

文字提示静态类。
简单的文字提示气泡框。

AntdUI.Tour #

漫游式引导静态类。
用于分步引导用户了解产品功能的气泡组件。

AntdUI.Transfer() #

创建穿梭框控件。
双栏穿梭选择框,用于在两个区域之间移动元素。
参数 @1 指定 custom 控件。

返回对象:AntdUITransferObject

返回对象:AntdUITransferObject

AntdUI.TransferItem() #

创建穿梭框项。

返回对象:AntdUITransferItemObject

AntdUI.Tree() #

创建树形控件。
多层次的结构列表。
参数 @1 指定 custom 控件。

返回对象:AntdUITreeObject

AntdUI.TreeItem() #

创建树节点项

返回对象:AntdUITreeItemObject

AntdUI.UploadDragger() #

创建拖拽上传控件。
文件选择上传和拖拽上传控件。
参数 @1 指定 custom 控件。

返回对象:AntdUIUploadDraggerObject

AntdUI.Watermark() #

创建水印控件。
给页面的某个区域加上水印。
参数 @1 指定 custom 控件。

返回对象:AntdUIWatermarkObject

AntdUIBreadcrumbItem 成员列表 #

AntdUIBreadcrumbItem.Text #

文本

AntdUIBreadcrumbObject 成员列表 #

AntdUIBreadcrumbObject.ForeActive #

激活字体颜色
0xAARRGGBB 格式颜色值。

AntdUIBreadcrumbObject.ForeColor #

文字颜色,0xAARRGGBB 格式

AntdUIBreadcrumbObject.Gap #

间距。整数值,默认为12

AntdUIBreadcrumbObject.Items #

数据。
AntdUI.BreadcrumbItem 对象数组

AntdUIBreadcrumbObject.PauseLayout #

暂停布局,bool 值,默认为 false

AntdUIBreadcrumbObject.Radius #

圆角。整数值,默认为 4

AntdUIBreadcrumbObject.Separator #

分隔符,string 值,默认为 "/"

AntdUIBreadcrumbObject.breadcrumb 成员列表 #

AntdUIBreadcrumbObject.breadcrumb.ItemClick #

function(sender,e){ __/*点击面包屑项时触发此事件,e.getItem().Text 返回当前点击的项目文本。
注意无下标参数的 Item 属性不能用 e.Item 读取。*/ }

AntdUIButtonObject 成员列表 #

AntdUIButtonObject.BackActive #

鼠标按下时的背景颜色。
0xAARRGGBB 格式颜色值。

AntdUIButtonObject.BackColor #

背景颜色。
0xAARRGGBB 格式颜色值。

AntdUIButtonObject.BackHover #

鼠标悬停时的背景颜色。
0xAARRGGBB 格式颜色值。

AntdUIButtonObject.BorderWidth #

边框宽度。
float 值,默认为 0F。

AntdUIButtonObject.Click #

AntdUIButtonObject.Click = function(sender,e){
    /*单击按钮时触发此事件*/
}

AntdUIButtonObject.ForeColor #

文本颜色。
0xAARRGGBB 格式颜色值。

AntdUIButtonObject.Ghost #

是否为幽灵按钮,幽灵按钮将按钮的内容反色,背景变为透明。
bool 值,默认为 false。

AntdUIButtonObject.Icon #

按钮图标。
Image 对象。

AntdUIButtonObject.IconPosition #

图标位置。
AntdUI.TAlignMini 枚举 (Left,Right),默认为 Left。

AntdUIButtonObject.IconRatio #

图标缩放比例。
float 值,默认为 0.7F。

AntdUIButtonObject.IconSvg #

按钮的 SVG 图标。
string 值。

AntdUIButtonObject.IsLink #

是否为链接样式。
bool 值,默认为 false。

AntdUIButtonObject.JoinLeft #

连接左侧区域,用于组合按钮。
bool 值,默认为 false。

AntdUIButtonObject.JoinRight #

连接右侧区域,用于组合按钮。
bool 值,默认为 false。

AntdUIButtonObject.Loading #

是否为加载中状态。
bool 值,默认为 false。

AntdUIButtonObject.Radius #

按钮圆角。
int 值,默认为 6。

AntdUIButtonObject.Shape #

按钮形状。
AntdUI.TShape 枚举 (Default,Circle,Round),默认为 Default。

AntdUIButtonObject.ShowArrow #

是否显示箭头图标。
bool 值,默认为 false。

AntdUIButtonObject.Switch #

切换状态,用于实现开关按钮。
bool 值,默认为 false。

AntdUIButtonObject.Text #

按钮文本。
string 值,可使用 🌏 LocalizationText 指定多语言文本。

AntdUIButtonObject.ToggleIcon #

切换状态的图标。
Image 对象。

AntdUIButtonObject.ToggleIconSvg #

切换状态的 SVG 图标。
string 值。

AntdUIButtonObject.Type #

按钮类型。
AntdUI.TTypeMini 枚举 (Default,Primary,Success,Error,Warn,Info),默认为 Default。

AntdUICheckboxObject 成员列表 #

AntdUICheckboxObject.AutoCheck #

点击时自动改变选中状态 bool true

AntdUICheckboxObject.AutoSize #

自动大小 bool false

AntdUICheckboxObject.AutoSizeMode #

自动大小模式 TAutoSize None

AntdUICheckboxObject.Checked #

选中状态 bool false

AntdUICheckboxObject.CheckedChanged #

AntdUICheckboxObject.CheckedChanged = function(sender,e){
    /*属性值更改时发生,参数 e.Checked 表示选中状态*/
}

AntdUICheckboxObject.Fill #

填充颜色
0xAARRGGBB 格式颜色值。

AntdUICheckboxObject.ForeColor #

文字颜色
0xAARRGGBB 格式颜色值。

AntdUICheckboxObject.LocalizationText #

国际化文本 string? null

AntdUICheckboxObject.RightToLeft #

反向 RightToLeft No

AntdUICheckboxObject.Text #

文本 string? null

AntdUICheckboxObject.TextAlign #

文本位置 ContentAlignment MiddleLeft

AntdUICheckboxObject.UseMnemonic #

是否使用助记键 bool true

AntdUIDropdownObject 成员列表 #

AntdUIDropdownObject.BackActive #

鼠标按下时的背景颜色。
0xAARRGGBB 格式颜色值。

AntdUIDropdownObject.BackColor #

背景颜色。
0xAARRGGBB 格式颜色值。

AntdUIDropdownObject.BackHover #

鼠标悬停时的背景颜色。
0xAARRGGBB 格式颜色值。

AntdUIDropdownObject.BorderWidth #

边框宽度。
float 值,默认为 0F。

AntdUIDropdownObject.Click #

AntdUIDropdownObject.Click = function(sender,e){
    /*单击按钮时触发此事件*/
}

AntdUIDropdownObject.ClickEnd #

点击到最里层,无节点才能点击,bool 值,默认为 false

AntdUIDropdownObject.DropDownArrow #

下拉箭头是否显示,bool 值,默认为 false

AntdUIDropdownObject.DropDownPadding #

下拉边距,System.Drawing.Size 对象。
默认值 System.Drawing.Size(12,5)

AntdUIDropdownObject.DropDownRadius #

下拉圆角,数值,默认为 null

AntdUIDropdownObject.ForeColor #

文本颜色。
0xAARRGGBB 格式颜色值。

AntdUIDropdownObject.Ghost #

是否为幽灵按钮,幽灵按钮将按钮的内容反色,背景变为透明。
bool 值,默认为 false。

AntdUIDropdownObject.Icon #

按钮图标。
Image 对象。

AntdUIDropdownObject.IconPosition #

图标位置。
AntdUI.TAlignMini 枚举 (Left,Right),默认为 Left。

AntdUIDropdownObject.IconRatio #

图标缩放比例。
float 值,默认为 0.7F。

AntdUIDropdownObject.IconSvg #

按钮的 SVG 图标。
string 值。

AntdUIDropdownObject.Items #

数据集合

AntdUIDropdownObject.JoinLeft #

连接左侧区域,用于组合按钮。
bool 值,默认为 false。

AntdUIDropdownObject.JoinRight #

连接右侧区域,用于组合按钮。
bool 值,默认为 false。

AntdUIDropdownObject.ListAutoWidth #

列表自动宽度,bool 值,默认为 true

AntdUIDropdownObject.Loading #

是否为加载中状态。
bool 值,默认为 false。

AntdUIDropdownObject.MaxCount #

列表最多显示条数,数值,默认为 4

AntdUIDropdownObject.Placement #

菜单弹出位置,AntdUI.TAlignFrom 枚举。
默认为 AntdUI.TAlignFrom.BL

AntdUIDropdownObject.Radius #

按钮圆角。
int 值,默认为 6。

AntdUIDropdownObject.SelectedValueChanged #

AntdUIDropdownObject.SelectedValueChanged = function(sender,e){
    /*改变选项时触发此事件,e.Value 为当前选中的值*/
}

AntdUIDropdownObject.Shape #

按钮形状。
AntdUI.TShape 枚举 (Default,Circle,Round),默认为 Default。

AntdUIDropdownObject.ShowArrow #

是否显示箭头图标。
bool 值,默认为 false。

AntdUIDropdownObject.Switch #

切换状态,用于实现开关按钮。
bool 值,默认为 false。

AntdUIDropdownObject.Text #

按钮文本。
string 值,可使用 🌏 LocalizationText 指定多语言文本。

AntdUIDropdownObject.ToggleIcon #

切换状态的图标。
Image 对象。

AntdUIDropdownObject.ToggleIconSvg #

切换状态的 SVG 图标。
string 值。

AntdUIDropdownObject.Trigger #

触发下拉的行为,AntdUI.Trigger 枚举。
默认值为 AntdUI.Trigger.Click

AntdUIInputObject 成员列表 #

AntdUIInputObject.AllowClear #

是否允许清除内容,bool 值,默认为 false

AntdUIInputObject.Icon #

输入框图标

AntdUIInputObject.PasswordChar #

密码掩码字符

AntdUIInputObject.Placeholder #

占位文本

AntdUIInputObject.Text #

输入框内容

AntdUIInputObject.TextChanged #

AntdUIInputObject.TextChanged = function(sender,e){
    /*文本内容改变时触发此事件*/
}

AntdUITableObject 成员列表 #

AntdUITableObject.AddMergedRegion() #

新增合并单元格。
参数 @1 指定 CellRange 对象或 CellRange[] 数组。

AntdUITableObject.AutoSizeColumnsMode #

列宽自动调整模式。
AntdUI.ColumnsMode 枚举,默认为 Auto。

AntdUITableObject.Binding() #

绑定数据源,用于实现插入删除自动刷新。
参数 @1 指定 BindingList 对象。

AntdUITableObject.BorderColor #

表格边框颜色。
0xAARRGGBB 格式颜色值。

AntdUITableObject.Bordered #

显示列边框。
bool 值,默认为 false。

AntdUITableObject.CellBeginEdit #

AntdUITableObject.CellBeginEdit = function(sender,e){
    /*编辑前发生,返回 true 继续编辑  
e.Value 数值, e.Record 原始行, e.RowIndex 行序号, e.ColumnIndex 列序号*/
    return true;
}

AntdUITableObject.CellButtonClick #

AntdUITableObject.CellButtonClick = function(sender,e){
    /*单击单元格按钮时发生  
e.Btn 触发按钮, e.Record 原始行, e.RowIndex 行序号, e.ColumnIndex 列序号*/
}

AntdUITableObject.CellClick #

AntdUITableObject.CellClick = function(sender,e){
    /*单击单元格时发生  
e.Button 鼠标按键, e.Record 原始行, e.RowIndex 行序号, e.ColumnIndex 列序号, e.Rect 表格区域*/
}

AntdUITableObject.CellDoubleClick #

AntdUITableObject.CellDoubleClick = function(sender,e){
    /*双击单元格时发生  
e.Button 鼠标按键, e.Record 原始行, e.RowIndex 行序号, e.ColumnIndex 列序号, e.Rect 表格区域*/
}

AntdUITableObject.CellEndEdit #

AntdUITableObject.CellEndEdit = function(sender,e){
    /*编辑后发生,返回 true 应用编辑  
e.Value 修改后值, e.Record 原始行, e.RowIndex 行序号, e.ColumnIndex 列序号*/
    return true;
}

AntdUITableObject.CheckSize #

复选框大小。
int 值,默认为 16。

AntdUITableObject.CheckedChanged #

AntdUITableObject.CheckedChanged = function(sender,e){
    /*Checked 属性值更改时发生  
e.Value 数值, e.Record 原始行, e.RowIndex 行序号, e.ColumnIndex 列序号*/
}

AntdUITableObject.CheckedOverallChanged #

AntdUITableObject.CheckedOverallChanged = function(sender,e){
    /*全局 CheckState 属性值更改时发生  
e.Column 表头对象, e.Value 数值*/
}

AntdUITableObject.ClearMergedRegion() #

清空全部合并单元格。

AntdUITableObject.ClipboardCopy #

行复制。
bool 值,默认为 true。

AntdUITableObject.ColumnBack #

表头背景色。
0xAARRGGBB 格式颜色值。

AntdUITableObject.ColumnDragSort #

列拖拽排序。
bool 值,默认为 false。

AntdUITableObject.ColumnFont #

表头字体。
Font 对象。

AntdUITableObject.ColumnFore #

表头文本色。
0xAARRGGBB 格式颜色值。

AntdUITableObject.Columns #

表格列的配置。
AntdUI.ColumnCollection 对象。

AntdUITableObject.ContainsMergedRegion() #

判断合并单元格是否存在。
参数 @1 指定 CellRange 对象。
返回 bool 值。

AntdUITableObject.CopyData() #

复制表格数据。
参数 @1 指定行索引 row。
参数 @2 可选,指定列索引 column。

AntdUITableObject.DataSource #

数据数组。
object 对象,支持 DataTable、Class 等。

AntdUITableObject.DefaultExpand #

默认是否展开树。
bool 值,默认为 false。

AntdUITableObject.DragHandleIconSize #

拖拽手柄图标大小。
int 值,默认为 14。

AntdUITableObject.DragHandleSize #

拖拽手柄大小。
int 值,默认为 24。

AntdUITableObject.EditMode #

编辑模式。
AntdUI.TEditMode 枚举,默认为 None。

AntdUITableObject.Empty #

是否显示空样式。
bool 值,默认为 true。

AntdUITableObject.EmptyHeader #

空是否显示表头。
bool 值,默认为 false。

AntdUITableObject.EmptyImage #

数据为空显示图片。
Image 对象,默认为 null。

AntdUITableObject.EmptyText #

数据为空显示文字。
string 值,默认为 "No data"。

AntdUITableObject.EnableHeaderResizing #

手动调整列头宽度。
bool 值,默认为 false。

AntdUITableObject.EnterEditMode() #

进入编辑模式。
参数 @1 指定行索引 row。
参数 @2 指定列索引 column。

AntdUITableObject.Expand() #

展开或折叠指定行。
参数 @1 指定行元数据 record。
参数 @2 指定折叠值 value。

AntdUITableObject.ExpandAll() #

展开全部树节点。

AntdUITableObject.FixedHeader #

固定表头。
bool 值,默认为 true。

AntdUITableObject.ForeColor #

文字颜色。
0xAARRGGBB 格式颜色值。

AntdUITableObject.Gap #

间距。
int 值,默认为 12。

AntdUITableObject.GetRowEnable() #

获取行使能。
参数 @1 指定行索引 i。
返回 bool 值。

AntdUITableObject.HandShortcutKeys #

处理快捷键。
bool 值,默认为 true。

AntdUITableObject.LoadLayout() #

刷新布局。

AntdUITableObject.LostFocusClearSelection #

焦点离开清空选中。
bool 值,默认为 false。

AntdUITableObject.MultipleRows #

多选行。
bool 值,默认为 false。

AntdUITableObject.Radius #

圆角。
int 值,默认为 0。

AntdUITableObject.Refresh() #

刷新界面。

AntdUITableObject.RowHeight #

行高。
int? 值,默认为 null。

AntdUITableObject.RowHeightHeader #

表头行高。
int? 值,默认为 null。

AntdUITableObject.RowSelectedBg #

表格行选中背景色。
0xAARRGGBB 格式颜色值。

AntdUITableObject.RowSelectedFore #

表格行选中字色。
0xAARRGGBB 格式颜色值。

AntdUITableObject.ScrollLine() #

滚动到指定行。
参数 @1 指定行索引 i。
参数 @2 可选,指定是否强制滚动 force。

AntdUITableObject.SelectedIndex #

选中行。
int 值,默认为 -1。

AntdUITableObject.SelectedIndexs #

选中多行。
int[] 数组。

AntdUITableObject.SetRowEnable() #

设置行使能。
参数 @1 指定行索引 i。
参数 @2 指定使能值 value。
参数 @3 指定是否刷新 ui。

AntdUITableObject.SetRowStyle #

AntdUITableObject.SetRowStyle = function(sender,e){
    /*设置行样式,返回 CellStyleInfo 对象或 null  
e.Record 原始行, e.Index 行序号  
可用于实现奇偶交替背景色*/
    if(e.Index % 2 == 0){
        var style = AntdUI.Table.CellStyleInfo();
        style.BackColor = 0xFFF5F5F5;
        return style;
    }
    return null;
}

AntdUITableObject.ShowTip #

省略文字提示。
bool 值,默认为 true。

AntdUITableObject.SortColumnsIndex() #

获取表头排序序号。
返回 int[] 数组。

AntdUITableObject.SortIndex() #

获取排序序号。
返回 int[] 数组。

AntdUITableObject.SortList() #

获取排序数据。
返回 object[] 数组。

AntdUITableObject.SortRows #

AntdUITableObject.SortRows = function(sender,e){
    /*行排序时发生  
e.ColumnIndex 列序号*/
}

AntdUITableObject.SwitchSize #

开关大小。
int 值,默认为 16。

AntdUITableObject.ToDataTable() #

导出表格数据。
返回 DataTable 对象。

AntdUITableObject.TreeButtonSize #

树开关按钮大小。
int 值,默认为 16。

AntdUITableObject.VisibleHeader #

显示表头。
bool 值,默认为 true。

Markdown 格式