SimpleWindow
载入中...
搜索中...
未找到
sw::ListViewColumn结构体 参考

列表视图的列信息 更多...

#include <ListView.h>

Public 成员函数

 ListViewColumn ()=default
 默认构造函数
 
 ListViewColumn (const wchar_t *header, double width=100, ListViewColumnAlignment alignment=ListViewColumnAlignment::Left)
 构造函数,默认宽度100,左对齐
 
 ListViewColumn (const std::wstring &header, double width=100, ListViewColumnAlignment alignment=ListViewColumnAlignment::Left)
 构造函数,默认宽度100,左对齐
 

Public 属性

std::wstring header
 列标题
 
double width = 100
 列宽度
 
int order = -1
 列在界面中的实际显示顺序,零表示最左侧,-1表示由控件自动决定
 
int imageIndex = -1
 关联图像在图像列表中的索引,-1表示无图像
 
ListViewColumnAlignment alignment = ListViewColumnAlignment::Left
 列对齐方式
 

详细描述

列表视图的列信息


该结构体的文档由以下文件生成: