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