Table of Contents

Interface ILayoutable

Namespace
H.Common.Interfaces
Assembly
H.Common.dll

定义布局相关的属性和方法。

public interface ILayoutable
Extension Methods

Properties

Background

获取或设置背景画刷。

Brush Background { get; set; }

Property Value

Brush

BorderBrush

获取或设置边框画刷。

Brush BorderBrush { get; set; }

Property Value

Brush

BorderThickness

获取或设置边框厚度。

Thickness BorderThickness { get; set; }

Property Value

Thickness

Height

获取或设置高度。

double Height { get; set; }

Property Value

double

HorizontalAlignment

获取或设置水平对齐方式。

HorizontalAlignment HorizontalAlignment { get; set; }

Property Value

HorizontalAlignment

HorizontalContentAlignment

获取或设置水平内容对齐方式。

HorizontalAlignment HorizontalContentAlignment { get; set; }

Property Value

HorizontalAlignment

IsEnabled

获取或设置是否启用。

bool IsEnabled { get; set; }

Property Value

bool

Margin

获取或设置外边距。

Thickness Margin { get; set; }

Property Value

Thickness

MaxHeight

获取或设置最小高度。

double MaxHeight { get; set; }

Property Value

double

MaxWidth

获取或设置最小宽度。

double MaxWidth { get; set; }

Property Value

double

MinHeight

获取或设置最小高度。

double MinHeight { get; set; }

Property Value

double

MinWidth

获取或设置最小宽度。

double MinWidth { get; set; }

Property Value

double

Opacity

获取或设置不透明度。

double Opacity { get; set; }

Property Value

double

Padding

获取或设置内边距。

Thickness Padding { get; set; }

Property Value

Thickness

VerticalAlignment

获取或设置垂直对齐方式。

VerticalAlignment VerticalAlignment { get; set; }

Property Value

VerticalAlignment

VerticalContentAlignment

获取或设置垂直内容对齐方式。

VerticalAlignment VerticalContentAlignment { get; set; }

Property Value

VerticalAlignment

Width

获取或设置宽度。

double Width { get; set; }

Property Value

double