Syncfusion.EJ2

Syncfusion.EJ2.Inputs Namespace > TextBox Class : FloatLabelType Property

FloatLabelType Property (TextBox)

Specifies the floating label behavior of the TextBox that the placeholder text floats above the TextBox based on the below values. Possible values are: `Never` - The placeholder text should not be float ever. `Always` - The placeholder text floats above the TextBox always. `Auto` - The placeholder text floats above the TextBox while focusing or enter a value in Textbox.
Syntax
[DefaultValue()]
[HtmlAttributeName()]
[Newtonsoft.Json.JsonProperty("floatLabelType")]
[Newtonsoft.Json.JsonConverter(ConverterType=Newtonsoft.Json.Converters.StringEnumConverter, ConverterParameters=)]
public FloatLabelType FloatLabelType {get; set;}
[DefaultValue()]
[HtmlAttributeName()]
[Newtonsoft.Json.JsonProperty("floatLabelType")]
[Newtonsoft.Json.JsonConverter(ConverterType=Newtonsoft.Json.Converters.StringEnumConverter, ConverterParameters=)]
public:
property FloatLabelType FloatLabelType {
   FloatLabelType get();
   void set (    FloatLabelType value);
}
AssemblyVersion

Syncfusion.EJ2: 17.2500.0.34

See Also