Class BindingVisibablePropertyItemDemoModel
- Namespace
- H.Controls.Form.PropertyItem
- Assembly
- H.Controls.Form.PropertyItem.dll
public class BindingVisibablePropertyItemDemoModel : SourcePropertyItemDemoModel
- Inheritance
-
BindingVisibablePropertyItemDemoModel
- Inherited Members
-
- Extension Methods
-
Properties
[BindingVisiblableMethodName("GetBindingBothVisible")]
[Display(Name = "都选择Center时启用", Description = "演示应用PropertyItemAttribute自定义显示样式")]
public string BindingBoth { get; set; }
Property Value
- string
[BindingVisiblableMethodName("GetBindingHorizontalAlignmentVisible")]
[Display(Name = "HorizontalAlignment=Right", Description = "演示应用PropertyItemAttribute自定义显示样式")]
public string BindingHorizontalAlignment { get; set; }
Property Value
- string
[BindingVisiblableMethodName("GetBindingVerticalAlignmentVisible")]
[Display(Name = "VerticalAlignment=Bottom", Description = "演示应用PropertyItemAttribute自定义显示样式")]
public string BindingVerticalAlignment { get; set; }
Property Value
- string
[Display(Name = "EnumSourcePropertyItem", Description = "演示应用PropertyItemAttribute自定义显示样式")]
[RefreshOnValueChanged(true)]
[EnumSourcePropertyItem(typeof(ComboBoxPropertyItem))]
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
- HorizontalAlignment
[Display(Name = "EnumComboBoxPropertyItem", Description = "演示应用PropertyItemAttribute自定义显示样式")]
[RefreshOnValueChanged(true)]
[PropertyItem(typeof(EnumComboBoxPropertyItem))]
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
- VerticalAlignment
Methods
public bool GetBindingBothVisible()
Returns
- bool
public bool GetBindingHorizontalAlignmentVisible()
Returns
- bool
public bool GetBindingVerticalAlignmentVisible()
Returns
- bool