Table of Contents

Class ControlStyle

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll
public class ControlStyle : TextElementStyle, INotifyPropertyChanged
Inheritance
ControlStyle
Implements
Inherited Members
Extension Methods

Properties

Background

[Display(Name = "背景颜色", GroupName = "基础信息", Order = 0)]
public Brush Background { get; set; }

Property Value

Brush

BorderBrush

[Display(Name = "边框颜色", GroupName = "基础信息", Order = 0)]
public Brush BorderBrush { get; set; }

Property Value

Brush

BorderThickness

[Display(Name = "边框宽度", GroupName = "基础信息", Order = 0)]
public double BorderThickness { get; set; }

Property Value

double

Foreground

[Display(Name = "文本颜色", GroupName = "基础信息", Order = 0)]
public Brush Foreground { get; set; }

Property Value

Brush

Height

[Display(Name = "高度", GroupName = "基础信息", Order = 0)]
public double Height { get; set; }

Property Value

double

HorizontalAlignment

[Display(Name = "水平对齐", GroupName = "基础信息", Order = 0)]
public HorizontalAlignment HorizontalAlignment { get; set; }

Property Value

HorizontalAlignment

HorizontalContentAlignment

[Display(Name = "水平内容对齐", GroupName = "基础信息", Order = 0)]
public HorizontalAlignment HorizontalContentAlignment { get; set; }

Property Value

HorizontalAlignment

Margin

[Display(Name = "外部边距", GroupName = "基础信息", Order = 0)]
public Thickness Margin { get; set; }

Property Value

Thickness

Padding

[Display(Name = "内部边距", GroupName = "基础信息", Order = 0)]
public Thickness Padding { get; set; }

Property Value

Thickness

VerticalAlignment

[Display(Name = "垂直对齐", GroupName = "基础信息", Order = 0)]
public VerticalAlignment VerticalAlignment { get; set; }

Property Value

VerticalAlignment

VerticalContentAlignment

[Display(Name = "垂直内容对齐", GroupName = "基础信息", Order = 0)]
public VerticalAlignment VerticalContentAlignment { get; set; }

Property Value

VerticalAlignment

Width

[Display(Name = "宽度", GroupName = "基础信息", Order = 0)]
public double Width { get; set; }

Property Value

double