Table of Contents

Class ComboBoxPropertyItemDemoModel

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

Properties

FormSelectItem

[Display(Name = "FormComboBoxPropertyItem", Description = "演示应用PropertyItemAttribute自定义显示样式")]
[MethodNameSourcePropertyItem(typeof(PresenterComboBoxPropertyItem), "GetModelItemSource")]
public DemoModelItem FormSelectItem { get; set; }

Property Value

DemoModelItem

HorizontalAlignment

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

Property Value

HorizontalAlignment

PresenterSelectItem

[Display(Name = "PresenterComboBoxPropertyItem", Description = "演示应用PropertyItemAttribute自定义显示样式")]
[PropertyNameSourcePropertyItem(typeof(PresenterComboBoxPropertyItem), "ModelItemSource")]
public DemoModelItem PresenterSelectItem { get; set; }

Property Value

DemoModelItem

SelectItem

[Display(Name = "ComboBoxPropertyItem", Description = "演示应用PropertyItemAttribute自定义显示样式")]
[PropertyNameSourcePropertyItem(typeof(ComboBoxPropertyItem), "SelectSource")]
public string SelectItem { get; set; }

Property Value

string

VerticalAlignment

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

Property Value

VerticalAlignment