PopupPrimaryAxis 枚举

定义

描述为了增加可见的 Popup 量,而需要朝哪个方向移动 Popup 控件。Describes the direction to move a Popup control to increase the amount of the Popup that is visible.

public enum class PopupPrimaryAxis
public enum PopupPrimaryAxis
type PopupPrimaryAxis = 
Public Enum PopupPrimaryAxis
继承
PopupPrimaryAxis

字段

Horizontal 1

Popup 控件通过先沿屏幕的水平轴移动,再沿屏幕的垂直轴移动来更改位置。A Popup control changes position by moving along the horizontal axis of the screen before moving along the vertical axis.

None 0

Popup 控件根据默认的 Popup 行为更改位置。A Popup control changes position according to default Popup behavior.

Vertical 2

Popup 控件通过先沿屏幕的垂直轴移动,再沿屏幕的水平轴移动来更改位置。A Popup control changes position by moving along the vertical axis of the screen before moving along the horizontal axis.

注解

此枚举是用于为定义自定义放置CustomPopupPlacementCallback Popup的委托的返回值类型。This enumeration is a return value type for a CustomPopupPlacementCallback delegate that is used to define custom placement for a Popup.

适用于

另请参阅