Struct PositionOptions
Options to pass as argument to ComputePosition(VisualElement, VisualElement, Panel, PositionOptions) utility method.
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public struct PositionOptions
  Constructors
| Name | Description | 
|---|---|
| PositionOptions(PopoverPlacement, int, int, bool, bool) | Constructor.  | 
      
Properties
| Name | Description | 
|---|---|
| crossOffset | The cross offset from the anchor element.  | 
      
| crossSnap | Whether the popover should snap not to go outside the viewport.  | 
      
| favoritePlacement | The preferred placement for the popover.  | 
      
| offset | The offset from the anchor element.  | 
      
| shouldFlip | Whether the popover should flip if it doesn't fit in the viewport.  |