Constructor PositionOptions
PositionOptions(PopoverPlacement, int, int, bool, bool)
Constructor.
Declaration
public PositionOptions(PopoverPlacement preferredPlacement = PopoverPlacement.Top, int offset = 0, int crossOffset = 0, bool shouldFlip = true, bool crossSnap = true)
Parameters
Type | Name | Description |
---|---|---|
PopoverPlacement | preferredPlacement | The preferred placement for the popover. |
int | offset | The offset from the anchor element. |
int | crossOffset | The cross offset from the anchor element. |
bool | shouldFlip | Whether the popover should flip if it doesn't fit in the viewport. |
bool | crossSnap | Whether the popover should snap not to go outside the viewport. |