0
我试图做一个简单的例子来使用SurfaceInkCanvas
,但是,它不会作出任何事情时,我尝试使用触摸过它,虽然EditingMode="Ink"
为什么SurfaceInkCanvas不绘制?
下面是代码:
<s:SurfaceWindow x:Class="SurfaceApplication1.SurfaceWindow1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="http://schemas.microsoft.com/surface/2008"
Title="SurfaceApplication1"
>
<Grid>
<s:SurfaceInkCanvas x:Name="PostcardCanvas"
EditingMode="Ink"
Background="Orange"
Height="320"
IsHitTestVisible="False"
UsesTouchShape="False"
Width="426" />
</Grid>
</s:SurfaceWindow>
那么,我在这里错过了什么?
谢谢!我不认为这是简单的 – simo 2012-03-15 06:42:58
你应该在使用它们之前阅读属性的文档。 – NVM 2012-03-16 13:23:07