alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum FloatLabelType

    Specifies the floating label behavior for the placeholder text in the SfMultiColumnComboBox<TValue, TItem> component.

    Namespace: Syncfusion.Blazor.MultiColumnComboBox
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public enum FloatLabelType
    Remarks

    The floating label feature enhances user experience by providing dynamic placeholder behavior. It helps maintain context about the input field's purpose while allowing users to see their entered values clearly.

    Examples

    The following example demonstrates how to configure floating labels:

    <SfMultiColumnComboBox TValue="string" TItem="Employee" 
                           DataSource="@Employees" 
                           Placeholder="Select an employee"
                           FloatLabelType="FloatLabelType.Auto">
    </SfMultiColumnComboBox>

    Fields

    Name Description
    Always

    The placeholder text is always displayed as a floating label above the input field in the SfMultiColumnComboBox<TValue, TItem> component.

    Auto

    The placeholder text floats above the input field when the user focuses on the field or enters text in the SfMultiColumnComboBox<TValue, TItem> component.

    Never

    The placeholder text remains in its original position and does not float in the SfMultiColumnComboBox<TValue, TItem> component.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved