本文介绍了如何在圆形图标中获取元素菜单的元素菜单项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

           我在
Microsoft表面中处理元素菜单 控件,我的问题是"当我触摸元素菜单时,元素菜单项目即将到来平方形状,我希望它们呈圆形或圆形"

            I am working on Element menu  control inMicrosoft surface, my question is "when i touch Element Menu the Element Menu Items are coming squared shape where i want them in round or circular shape".

这是我的XAML代码

raghav

推荐答案

在Surface 2.0中,elementmenu的布局已更改为平方。没有简单的方法可以恢复到圆形状。

In Surface 2.0 the layout for the elementmenu has been changed to squared. There is no easy way to revert back to the circle shape.

http://msdn.microsoft.com/en-us/library/microsoft.surface.presentation.controls.elementmenu

您可以尝试使用Blend模拟元素菜单,但这将是很多工作。

You can try to template the elementmenu using Blend, but this will be a lot of work.




这篇关于如何在圆形图标中获取元素菜单的元素菜单项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-10 20:33