alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Enum OpenMode

    Specifies the different trigger modes that determine how the Tooltip component is opened and displayed to users.

    Namespace: Syncfusion.Blazor.Popups
    Assembly: Syncfusion.Blazor.dll
    Syntax
    [JsonConverter(typeof(JsonStringEnumConverter))]
    public enum OpenMode
    Remarks

    The OpenMode enumeration defines various interaction patterns for triggering tooltip display. Different modes provide flexibility to accommodate different user interface patterns and device types. The behavior may vary between desktop and mobile devices to ensure optimal user experience across platforms.

    Examples

    The following example demonstrates how to set different open modes for a tooltip:

    <SfTooltip Content="Click to see tooltip" OpenMode="OpenMode.Click">
        <button>Click me</button>
    </SfTooltip>

    Fields

    Name Description
    Auto

    Automatically determines the best trigger method based on the target element type and device capabilities.

    Click

    Triggers the tooltip when the user clicks or taps on the target element.

    Custom

    Disables all default trigger behaviors, requiring manual control through programmatic methods.

    Focus

    Triggers the tooltip when the target element receives keyboard focus or is programmatically focused.

    Hover

    Triggers the tooltip when the user hovers the mouse pointer over the target element.

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