Interface IPopoverView
Interface for popover views that combines IPopover with View-level operations. Eliminates the need for casting IPopover to View at caller sites.
public interface IPopoverView : IPopover
- Inherited Members
Remarks
IPopoverView exposes the minimal set of View members needed by the popover infrastructure. Use Visible and View's CWP events (VisibleChanging, VisibleChanged) instead of a separate IsOpen property.
See also: IPopover
Properties
- Anchor
Gets or sets the anchor positioning function. When the popover is shown, this function is called to determine the anchor rectangle for positioning.
- Enabled
Gets or sets whether the popover is enabled.
- Target
Gets or sets a weak reference to the target view that owns this popover. Used for command bubbling and automatic hiding when the target loses focus.
- Visible
Gets or sets whether the popover is visible. Use this instead of a separate IsOpen property.
Methods
- AdvanceFocus(NavigationDirection, TabBehavior?)
Advances focus in the specified direction.
- MakeVisible(Point?, Rectangle?)
Makes the popover visible at the specified position or anchor.
- SetNeedsDraw()
Marks the view as needing to be redrawn.
- SetNeedsLayout()
Marks the view as needing layout recalculation.