alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Enum CollisionType

    Defines the types of collision handling behavior for popup elements when they exceed viewport boundaries.

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

    The CollisionType enumeration specifies how the popup should behave when it would be positioned outside the visible area. This helps ensure popups remain visible and accessible to users regardless of the target element's position.

    Examples

    Usage of CollisionType in popup collision settings.

    <SfPopup>
        <PopupCollision X="CollisionType.Flip" Y="CollisionType.Fit" />
    </SfPopup>

    Fields

    Name Description
    Fit

    Specifies that the popup should be adjusted to fit within the viewport boundaries.

    Flip

    Specifies that the popup should flip to the opposite side when collision is detected.

    None

    Specifies that no collision handling should be applied to the popup.

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