menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class OpenType - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class OpenType

    Specifies the trigger action for displaying popup-based editors.

    Inheritance
    System.Object
    OpenType
    Namespace: Syncfusion.Blazor.InPlaceEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class OpenType : Enum
    Remarks

    This enumeration is applicable only when RenderMode is set to Popup.

    Fields

    Auto

    The popup opens automatically based on context, typically combining click and focus actions.

    Declaration
    public const OpenType Auto
    Field Value
    Type Description
    OpenType

    The most suitable action triggers the popup automatically.

    Remarks

    Auto provides a balanced and intuitive behavior for most use cases.

    Click

    The popup opens when the component is clicked.

    Declaration
    public const OpenType Click
    Field Value
    Type Description
    OpenType

    Opens the popup on a mouse click.

    Remarks

    This is a common and explicit way to trigger the editor popup.

    Custom

    The popup opening mechanism is handled through custom logic.

    Declaration
    public const OpenType Custom
    Field Value
    Type Description
    OpenType

    Allows for a user-defined trigger to open the popup.

    Remarks

    When set to Custom, you must manually control when the popup opens and closes.

    Focus

    The popup opens when the component receives focus, such as through keyboard navigation.

    Declaration
    public const OpenType Focus
    Field Value
    Type Description
    OpenType

    Opens the popup when the component gains focus.

    Remarks

    Focus improves accessibility by allowing keyboard users to trigger the editor.

    Hover

    The popup opens when the mouse pointer hovers over the component.

    Declaration
    public const OpenType Hover
    Field Value
    Type Description
    OpenType

    Opens the popup on mouse hover.

    Remarks

    Hover is useful for quick, non-critical edits where a click is not required.

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