Table of Contents

Class BindingVisibablePropertyItemDemoModel

Namespace
H.Controls.Form.PropertyItem
Assembly
H.Controls.Form.PropertyItem.dll
public class BindingVisibablePropertyItemDemoModel : SourcePropertyItemDemoModel
Inheritance
BindingVisibablePropertyItemDemoModel
Inherited Members
Extension Methods

Properties

BindingBoth

[BindingVisiblableMethodName("GetBindingBothVisible")]
[Display(Name = "都选择Center时启用", Description = "演示应用PropertyItemAttribute自定义显示样式")]
public string BindingBoth { get; set; }

Property Value

string

BindingHorizontalAlignment

[BindingVisiblableMethodName("GetBindingHorizontalAlignmentVisible")]
[Display(Name = "HorizontalAlignment=Right", Description = "演示应用PropertyItemAttribute自定义显示样式")]
public string BindingHorizontalAlignment { get; set; }

Property Value

string

BindingVerticalAlignment

[BindingVisiblableMethodName("GetBindingVerticalAlignmentVisible")]
[Display(Name = "VerticalAlignment=Bottom", Description = "演示应用PropertyItemAttribute自定义显示样式")]
public string BindingVerticalAlignment { get; set; }

Property Value

string

HorizontalAlignment

[Display(Name = "EnumSourcePropertyItem", Description = "演示应用PropertyItemAttribute自定义显示样式")]
[RefreshOnValueChanged(true)]
[EnumSourcePropertyItem(typeof(ComboBoxPropertyItem))]
public HorizontalAlignment HorizontalAlignment { get; set; }

Property Value

HorizontalAlignment

VerticalAlignment

[Display(Name = "EnumComboBoxPropertyItem", Description = "演示应用PropertyItemAttribute自定义显示样式")]
[RefreshOnValueChanged(true)]
[PropertyItem(typeof(EnumComboBoxPropertyItem))]
public VerticalAlignment VerticalAlignment { get; set; }

Property Value

VerticalAlignment

Methods

GetBindingBothVisible()

public bool GetBindingBothVisible()

Returns

bool

GetBindingHorizontalAlignmentVisible()

public bool GetBindingHorizontalAlignmentVisible()

Returns

bool

GetBindingVerticalAlignmentVisible()

public bool GetBindingVerticalAlignmentVisible()

Returns

bool