SystemParameters.MenuDropAlignment 属性

定义

获取一个值,该值指示弹出菜单是相对于相应菜单项是左对齐还是右对齐。

public:
 static property bool MenuDropAlignment { bool get(); };
public static bool MenuDropAlignment { [System.Security.SecurityCritical] get; }
public static bool MenuDropAlignment { get; }
[<get: System.Security.SecurityCritical>]
static member MenuDropAlignment : bool
static member MenuDropAlignment : bool
Public Shared ReadOnly Property MenuDropAlignment As Boolean

属性值

true 如果右对齐,则为否则,为 false.

属性

注解

映射到SPI_GETMENUDROPALIGNMENT。 请参阅 SystemParametersInfo

XAML 属性用法

< object property=“{ SystemParameters.MenuDropAlignment}”/>

适用于