| C1.Win.C1Input Namespace > C1TextBox Class : DisableOnNoData Property |
'Declaration<C1CategoryAttribute("Behavior")> <C1DescriptionAttribute("Gets or sets whether the text box should be disabled when it is bound to an empty data source, i.e. CurrencyManager.Count = 0.")> <DefaultValueAttribute()> Public Property DisableOnNoData As Boolean
'UsageDim instance As C1TextBox Dim value As Boolean instance.DisableOnNoData = value value = instance.DisableOnNoData
[C1Category("Behavior")] [C1Description("Gets or sets whether the text box should be disabled when it is bound to an empty data source, i.e. CurrencyManager.Count = 0.")] [DefaultValue()] public bool DisableOnNoData {get; set;}
[C1Category("Behavior")] [C1Description("Gets or sets whether the text box should be disabled when it is bound to an empty data source, i.e. CurrencyManager.Count = 0.")] [DefaultValue()] public: property bool DisableOnNoData { bool get(); void set ( bool value); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2