SystemParameters.MenuDropAlignment 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示弹出菜单是相对于相应菜单项是左对齐还是右对齐。
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}”/>