Interface ILayoutable
定义布局相关的属性和方法。
public interface ILayoutable
- Extension Methods
Properties
Background
获取或设置背景画刷。
Brush Background { get; set; }
Property Value
BorderBrush
获取或设置边框画刷。
Brush BorderBrush { get; set; }
Property Value
BorderThickness
获取或设置边框厚度。
Thickness BorderThickness { get; set; }
Property Value
Height
获取或设置高度。
double Height { get; set; }
Property Value
HorizontalAlignment
获取或设置水平对齐方式。
HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
HorizontalContentAlignment
获取或设置水平内容对齐方式。
HorizontalAlignment HorizontalContentAlignment { get; set; }
Property Value
IsEnabled
获取或设置是否启用。
bool IsEnabled { get; set; }
Property Value
Margin
获取或设置外边距。
Thickness Margin { get; set; }
Property Value
MinHeight
获取或设置最小高度。
double MinHeight { get; set; }
Property Value
MinWidth
获取或设置最小宽度。
double MinWidth { get; set; }
Property Value
Opacity
获取或设置不透明度。
double Opacity { get; set; }
Property Value
Padding
获取或设置内边距。
Thickness Padding { get; set; }
Property Value
VerticalAlignment
获取或设置垂直对齐方式。
VerticalAlignment VerticalAlignment { get; set; }
Property Value
VerticalContentAlignment
获取或设置垂直内容对齐方式。
VerticalAlignment VerticalContentAlignment { get; set; }
Property Value
Width
获取或设置宽度。
double Width { get; set; }