Class DataGridPresenterBase
- Namespace
- H.Presenters.Design.Base
- Assembly
- H.Presenters.Design.dll
public abstract class DataGridPresenterBase : DesignPresenter, INotifyPropertyChanged, IDisplayBindable, IIconable, INameable, IOrderable, IGroupable, IDable, IDescriptionable, IDesignPresenter, IDesignPresenterBase, ICloneable
- Inheritance
-
DataGridPresenterBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
AlternatingRowBackground
[Display(Name = "表格换行色", GroupName = "样式")]
public Brush AlternatingRowBackground { get; set; }
Property Value
CellHorizontalContentAlignment
[Display(Name = "单元水平停靠", GroupName = "常用,样式")]
public HorizontalAlignment CellHorizontalContentAlignment { get; set; }
Property Value
ColumnHeaderHeight
[Display(Name = "表格列高", GroupName = "常用,样式")]
public int ColumnHeaderHeight { get; set; }
Property Value
ColumnHorizontalContentAlignment
[Display(Name = "列头水平停靠", GroupName = "常用,样式")]
public HorizontalAlignment ColumnHorizontalContentAlignment { get; set; }
Property Value
ColumnPropertyInfos
[JsonIgnore]
[Display(Name = "列头设置", GroupName = "常用,数据")]
public ObservableCollection<ColumnPropertyInfo> ColumnPropertyInfos { get; set; }
Property Value
GridBackground
[Display(Name = "表格背景色", GroupName = "样式")]
public Brush GridBackground { get; set; }
Property Value
GridBorderBrush
[Display(Name = "表格边框颜色", GroupName = "样式")]
public Brush GridBorderBrush { get; set; }
Property Value
GridForeground
[Display(Name = "表格文本颜色", GroupName = "样式")]
public Brush GridForeground { get; set; }
Property Value
GridHeaderBackground
[Display(Name = "列头背景色", GroupName = "样式")]
public Brush GridHeaderBackground { get; set; }
Property Value
GridHeaderForeground
[Display(Name = "列头文本色", GroupName = "样式")]
public Brush GridHeaderForeground { get; set; }
Property Value
HorizontalGridLinesBrush
[Display(Name = "水平分割线色", GroupName = "样式")]
public Brush HorizontalGridLinesBrush { get; set; }
Property Value
ItemsSource
[JsonIgnore]
[Browsable(false)]
public IEnumerable ItemsSource { get; set; }
Property Value
RowHeight
[Display(Name = "表格行高", GroupName = "常用,样式")]
public int RowHeight { get; set; }
Property Value
VerticalGridLinesBrush
[Display(Name = "垂直分割线色", GroupName = "样式")]
public Brush VerticalGridLinesBrush { get; set; }
Property Value
Methods
LoadDefault()
加载默认值。
public override void LoadDefault()
Refresh()
public void Refresh()