Table of Contents

Class ListBoxPropertyItemDemoModel

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

Properties

FormSelectItem

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

Property Value

DemoModelItem

HorizontalAlignment

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

Property Value

HorizontalAlignment

SelectItem

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

Property Value

string