Table of Contents

Class DataGridPresenterBase

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll
public abstract class DataGridPresenterBase : DesignPresenterBase, INotifyPropertyChanged, IDisplayer, ICloneable
Inheritance
DataGridPresenterBase
Implements
Derived
Inherited Members
Extension Methods

Properties

AlternatingRowBackground

[Display(Name = "表格换行色", GroupName = "样式")]
public Brush AlternatingRowBackground { get; set; }

Property Value

Brush

CellHorizontalContentAlignment

[Display(Name = "单元水平停靠", GroupName = "常用,样式")]
public HorizontalAlignment CellHorizontalContentAlignment { get; set; }

Property Value

HorizontalAlignment

ColumnHeaderHeight

[Display(Name = "表格列高", GroupName = "常用,样式")]
public int ColumnHeaderHeight { get; set; }

Property Value

int

ColumnHorizontalContentAlignment

[Display(Name = "列头水平停靠", GroupName = "常用,样式")]
public HorizontalAlignment ColumnHorizontalContentAlignment { get; set; }

Property Value

HorizontalAlignment

ColumnPropertyInfos

[Display(Name = "列头设置", GroupName = "常用,数据")]
public ObservableCollection<ColumnPropertyInfo> ColumnPropertyInfos { get; set; }

Property Value

ObservableCollection<ColumnPropertyInfo>

GridBackground

[Display(Name = "表格背景色", GroupName = "样式")]
public Brush GridBackground { get; set; }

Property Value

Brush

GridBorderBrush

[Display(Name = "表格边框颜色", GroupName = "样式")]
public Brush GridBorderBrush { get; set; }

Property Value

Brush

GridForeground

[Display(Name = "表格文本颜色", GroupName = "样式")]
public Brush GridForeground { get; set; }

Property Value

Brush

GridHeaderBackground

[Display(Name = "列头背景色", GroupName = "样式")]
public Brush GridHeaderBackground { get; set; }

Property Value

Brush

GridHeaderForeground

[Display(Name = "列头文本色", GroupName = "样式")]
public Brush GridHeaderForeground { get; set; }

Property Value

Brush

HorizontalGridLinesBrush

[Display(Name = "水平分割线色", GroupName = "样式")]
public Brush HorizontalGridLinesBrush { get; set; }

Property Value

Brush

ItemsSource

[Browsable(false)]
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

RowHeight

[Display(Name = "表格行高", GroupName = "常用,样式")]
public int RowHeight { get; set; }

Property Value

int

VerticalGridLinesBrush

[Display(Name = "垂直分割线色", GroupName = "样式")]
public Brush VerticalGridLinesBrush { get; set; }

Property Value

Brush

Methods

LoadDefault()

public override void LoadDefault()

Refresh()

public void Refresh()