logo Devexpress WPF控件文档中心

Grid控件风格


本主题介绍了定义GridControl的可视化元素的表现形式的样式。使用这些信息来创建自定义样式。

通用

视觉元素

属性

描述

目标元素

数据源

Auto Filter Row

ColumnBase.AutoFilterRowCellStyle

TableView.AutoFilterRowCellStyle

TreeListView.AutoFilterRowCellStyle

 自动填充

DevExpress.Xpf.Grid.FilterCellContentPresenter

DevExpress.Xpf.Grid.EditGridCellData

New Item Row

TableView.NewItemRowCellStyle

 新建单元格.

Unoptimized mode: DevExpress.Xpf.Grid.NewItemRowCellContentPresenter

Optimized mode: DevExpress.Xpf.Grid.LightweightNewItemCellEditor

DevExpress.Xpf.Grid.EditGridCellData

Card

CardView.CardStyle

 卡片.

ContentControl

CardData

Column Header

BaseColumn.HeaderStyle

 表头.

GridColumnHeader

GridColumn

ColumnBase.ColumnHeaderContentStyle

DataViewBase.ColumnHeaderContentStyle

 表头内容

DevExpress.Xpf.Grid.HeaderContentControl

Data Cell

ColumnBase.CellStyle

DataViewBase.CellStyle

 单元格.

Unoptimized modeCellContentPresenter

Optimized mode: DevExpress.Xpf.Grid.LightweightCellEditor

DevExpress.Xpf.Grid.EditGridCellData

Data Row

TableView.RowStyle

 数据行.

Unoptimized modeGridRowContent

Optimized modeRowControl

RowData

Tree List Node

TreeListView.RowStyle

 树形节点.

Group Row

GridViewBase.GroupRowStyle

GridViewBase.GroupValueContentStyle

 分组中的行

Unoptimized mode: System.Windows.Controls.ContentControl

Optimized mode: DevExpress.Xpf.Grid.GroupRowControl

GroupRowData

Group Footer

TableView.GroupFooterRowStyle

 分组的footer.

DevExpress.Xpf.Grid.FooterContentPresenter

DevExpress.Xpf.Grid.GroupSummaryRowData

Group Summary Item (Group Row)

GridViewBase.GroupSummaryContentStyle

分组中简述项.

Unoptimized mode: System.Windows.Controls.Border

Not supported in optimized mode.

DevExpress.Xpf.Grid.GridGroupSummaryData

TableView.GroupBandSummaryContentStyle

 分组汇总 

DevExpress.Xpf.Grid.GroupBandSummaryControl

DevExpress.Xpf.Grid.GridGroupSummaryColumnData

TableView.GroupColumnSummaryContentStyle

 分组汇总

DevExpress.Xpf.Grid.GroupColumnSummaryControl

GridSummaryItem.GroupColumnSummaryElementStyle

 分组汇总 

System.Windows.Documents.Run

DevExpress.Xpf.Grid.GridSummaryDisplayData

GridViewBase.GroupColumnSummaryElementStyle

 分组汇总 

Group Summary Item (Group Footer)

GridSummaryItem.GroupColumnFooterElementStyle

 分组汇总 

System.Windows.Documents.Run

DevExpress.Xpf.Grid.GridSummaryDisplayData

TableView.GroupColumnFooterElementStyle

 分组汇总m 

TableView.GroupFooterSummaryContentStyle

分组汇总 

DevExpress.Xpf.Core.DataContentPresenter

DevExpress.Xpf.Grid.GridGroupSummaryColumnData

Total Summary Item

ColumnBase.TotalSummaryContentStyle

 列汇总

DevExpress.Xpf.Grid.TotalSummaryContentPresenter

GridColumnData

DataViewBase.TotalSummaryContentStyle

 列汇总s 

SummaryItemBase.TotalSummaryElementStyle

 列汇总.

System.Windows.Documents.Run

DevExpress.Xpf.Grid.GridSummaryDisplayData

DataViewBase.TotalSummaryElementStyle

列汇总 

Fixed Total Summary

SummaryItemBase.FixedTotalSummaryElementStyle

DataViewBase.FixedTotalSummaryElementStyle

 固定汇总说明.

System.Windows.Documents.Run

DevExpress.Xpf.Grid.GridSummaryDisplayData

Selection Rectangle

DataViewBase.SelectionRectangleStyle

 选中范围.

System.Windows.Controls.Border

Same as the view's

Wait Indicator

DataViewBase.WaitIndicatorStyle

 加载提示.

DevExpress.Xpf.Core.WaitIndicator

Same as the view's

在线咨询
联系我们

客服热线
023-68661681

QQ客服

意见反馈


添加微信获专业服务

TOP