Class BadgeAnchor
Defines the constants that specify the anchor position of the SfBadge.
Inheritance
System.Object
BadgeAnchor
Namespace: Syncfusion.UI.Xaml.Notifications
Assembly: Syncfusion.Notifications.WinUI.dll
Syntax
public sealed class BadgeAnchor : Enum
Fields
Center
The badge aligned to the center of the layout slot for the parent element.
Declaration
public const BadgeAnchor Center
Field Value
| Type |
|---|
| BadgeAnchor |
Custom
The badge aligned to the custom value of the layout slot for the parent element.
Declaration
public const BadgeAnchor Custom
Field Value
| Type |
|---|
| BadgeAnchor |
Remarks
Refer HorizontalAnchorPosition and VerticalAnchorPosition for custom alignment.
Inside
The badge aligned to the inside of the layout slot for the parent element.
Declaration
public const BadgeAnchor Inside
Field Value
| Type |
|---|
| BadgeAnchor |
Outside
The badge aligned to the outside of the layout slot for the parent element.
Declaration
public const BadgeAnchor Outside
Field Value
| Type |
|---|
| BadgeAnchor |