[]
        
(Showing Draft Content)

C1.WinUI.Input.C1Popup

C1Popup Class

Popup that displays a Child element relatively to PlacementTarget.

Inheritance
C1Popup
Implements
Namespace: C1.WinUI.Input
Assembly: C1.WinUI.Input.dll
Syntax
public class C1Popup : Control, IDisposable

Constructors

Name Description
C1Popup()

Initializes a new instance of the C1Popup class.

Fields

Name Description
AutoCloseProperty

Identifies the AutoClose dependency property.

CheckBordersProperty

Identifies the CheckBorders dependency property.

ChildProperty

Identifies the Child dependency property.

CloseOnLostFocusProperty

Identifies the CloseOnLostFocus dependency property.

CloseOnPlacementTargetPositionChangedProperty

Identifies the CloseOnPlacementTargetPositionChanged dependency property.

CloseOnWindowChangedProperty

Identifies the CloseOnWindowChanged dependency property.

DesiredPlacementProperty

Identifies the DesiredPlacement dependency property.

GetLocationsProperty

Identifies the GetLocations dependency property.

GetReferencePositionProperty

Identifies the GetReferencePosition dependency property.

IgnoreFlowDirectionProperty

Identifies the IgnoreFlowDirection dependency property.

IsOpenProperty

Identifies the IsOpen dependency property.

OverlapHorizontalProperty

Identifies the OverlapHorizontal dependency property.

OverlapVerticalProperty

Identifies the OverlapVertical dependency property.

PlacementTargetProperty

Identifies the PlacementTarget dependency property.

Properties

Name Description
AutoClose

Gets or sets whether the popup will close automatically when tapping outside the popup.

CheckBorders

Gets or sets whether the positioning algorithm will check for the borders of the window.

Child

Gets or sets the element that will located in the popup.

CloseOnLostFocus

Gets or sets whether the popup closes automatically when the focus is out of Child or PlacementTarget.

CloseOnPlacementTargetPositionChanged

Gets or sets whether the popup is closed when the position or size of the PlacementTarget changed.

CloseOnWindowChanged

Gets or sets whether the popup is closed when the window position or size changed or it is deactivated.

DesiredPlacement

Gets or sets whether the popup is open.

GetLocations

Gets or sets a function that the positioning algorithm will use to determine the location of Child.

GetReferencePosition

Gets or sets a reference point that the positioning algorithm will use to determine the location of Child.

IgnoreFlowDirection

Gets or sets whether the FlowDirection will be taken into account.

IsDisposed

Gets whether this instance is disposed.

IsOpen

Gets or sets whether the popup is open.

OverlapHorizontal

Gets or sets the horizontal overlap of the Child with respect of PlacementTarget.

OverlapVertical

Gets or sets the vertical overlap of the Child with respect of PlacementTarget.

PlacementTarget

Gets or sets the element that will determine the position of Child.

Methods

Name Description
Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the C1Popup class.

OnApplyTemplate()

Events

Name Description
Closed

Called when the popup is closed.