| C1.Web.Wijmo.Controls.C1ComboBox Namespace > C1ComboBox Class : DataTextFormatString Property |
'Declaration<C1DescriptionAttribute(Key="C1ComboBox.DataTextFormatString", Description="The formatting applied to the text field. For example,"{0:d}".")> <C1CategoryAttribute("Data")> <LayoutAttribute(LayoutType.Misc)> <System.ComponentModel.DefaultValueAttribute()> Public Property DataTextFormatString As System.String
[C1Description(Key="C1ComboBox.DataTextFormatString", Description="The formatting applied to the text field. For example,"{0:d}".")] [C1Category("Data")] [Layout(LayoutType.Misc)] [System.ComponentModel.DefaultValue()] public System.string DataTextFormatString {get; set;}
C1ComboBox c = new C1ComboBox(); c.DataSource = data; c.DataTextField = "textField"; c.DataValueField = "valueField"; c.DataBind();
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