Class DesignPresenterBase
public abstract class DesignPresenterBase : DisplayerViewModelBase, INotifyPropertyChanged, IDisplayer, ICloneable
- Inheritance
-
DesignPresenterBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
Background
[Display(Name = "背景颜色", GroupName = "样式")]
public Brush Background { get; set; }
Property Value
BorderBrush
[Display(Name = "边框颜色", GroupName = "样式")]
public Brush BorderBrush { get; set; }
Property Value
BorderThickness
[Display(Name = "边框粗细", GroupName = "样式")]
public Thickness BorderThickness { get; set; }
Property Value
Column
[Display(Name = "列", GroupName = "布局")]
public int Column { get; set; }
Property Value
ColumnSpan
[Display(Name = "列跨距", GroupName = "布局")]
public int ColumnSpan { get; set; }
Property Value
DeleteCommand
public RelayCommand DeleteCommand { get; }
Property Value
Height
[Display(Name = "高", GroupName = "常用,布局")]
[TypeConverter(typeof(LengthConverter))]
public double Height { get; set; }
Property Value
HorizontalAlignment
[Display(Name = "水平对齐", GroupName = "布局")]
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
HorizontalContentAlignment
[Display(Name = "水平内容对齐", GroupName = "布局")]
public HorizontalAlignment HorizontalContentAlignment { get; set; }
Property Value
IsEnabled
[Display(Name = "可用", GroupName = "样式")]
public bool IsEnabled { get; set; }
Property Value
IsMouseOver
[Browsable(false)]
public bool IsMouseOver { get; set; }
Property Value
IsSelected
[Browsable(false)]
public bool IsSelected { get; set; }
Property Value
IsVisible
[Display(Name = "可见", GroupName = "样式")]
public bool IsVisible { get; set; }
Property Value
Margin
[Display(Name = "外部间距", GroupName = "布局")]
public Thickness Margin { get; set; }
Property Value
MinHeight
[Display(Name = "最小高度", GroupName = "布局")]
[TypeConverter(typeof(LengthConverter))]
public double MinHeight { get; set; }
Property Value
MinWidth
[Display(Name = "最小宽度", GroupName = "布局")]
[TypeConverter(typeof(LengthConverter))]
public double MinWidth { get; set; }
Property Value
Opacity
[Display(Name = "透明度", GroupName = "样式")]
public double Opacity { get; set; }
Property Value
Padding
[Display(Name = "内部间距", GroupName = "布局")]
public Thickness Padding { get; set; }
Property Value
Row
[Display(Name = "行", GroupName = "布局")]
public int Row { get; set; }
Property Value
RowSpan
[Display(Name = "行跨距", GroupName = "布局")]
public int RowSpan { get; set; }
Property Value
VerticalAlignment
[Display(Name = "垂直对齐", GroupName = "布局")]
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
VerticalContentAlignment
[Display(Name = "垂直内部对齐", GroupName = "布局")]
public VerticalAlignment VerticalContentAlignment { get; set; }
Property Value
Width
[Display(Name = "宽", GroupName = "常用,布局")]
[TypeConverter(typeof(LengthConverter))]
public double Width { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public virtual object Clone()
Returns
- object
A new object that is a copy of this instance.
Delete(object)
protected virtual void Delete(object e)
Parameters
e
object