Surface 2.0 アプリケーション用のタッチ対応メッセージ ボックスが必要です。標準MessageBox.Show()
は、マウスをクリックして確認する必要があります。
それは私が望むものではありません。
と小さく書けましたUserControl
が、既に組み込まれているものがあるのだろうか。
Surface 2.0 アプリケーション用のタッチ対応メッセージ ボックスが必要です。標準MessageBox.Show()
は、マウスをクリックして確認する必要があります。
それは私が望むものではありません。
と小さく書けましたUserControl
が、既に組み込まれているものがあるのだろうか。
MessageDialog
クラスを使用してダイアログを表します。
1時間近く探した後、自分でやった^^
public partial class MsgBoxTouch : SurfaceWindow
{
public TouchBox1()
{
this.InitializeComponent();
}
private void Button_TouchEnter(object sender, TouchEventArgs e)
{
this.Close();
}
}
}
<s:SurfaceWindow x:Class="MsgBoxTouch"
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"
mc:Ignorable="d"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
WindowState="Normal" WindowStyle="None" Width="300" Height="300">
<Grid x:Name="Layout">
<Button Content="OK" Height="50" TouchEnter="Button_TouchEnter">
</Button>
</Grid>
</s:SurfaceWindow>
blip-surfaceは MessageBox ユーザー コントロールを使用します。おそらくそれに似たものを使用できます。
http://code.google.com/p/blip-surface/source/browse/trunk/Blip/UI/Controls/?r=28