alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Enum TargetType

    Defines the types of target elements for positioning popup components.

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

    The TargetType enumeration specifies how the popup element should be positioned relative to its target element. This affects the positioning behavior and reference point used by the popup component.

    Examples

    Usage of TargetType in popup configuration.

    <SfPopup TargetType="TargetType.Relative">
        <!-- Popup content -->
    </SfPopup>

    Fields

    Name Description
    Container

    Specifies that the popup should be positioned relative to the container element.

    Relative

    Specifies that the popup should be positioned relative to the target element.

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