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. |