本文整理汇总了C#中System.Windows.Input.ManipulationStartedEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# ManipulationStartedEventArgs类的具体用法?C# ManipulationStartedEventArgs怎么用?C# ManipulationStartedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ManipulationStartedEventArgs类属于System.Windows.Input命名空间,在下文中一共展示了ManipulationStartedEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
txtblk.Foreground = originalBrush;
args.Complete();
base.OnManipulationStarted(args);
}
示例2: OnT6ManipulationStarted
void OnT6ManipulationStarted(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.Navigate(new Uri("/T6.xaml", UriKind.Relative));
args.Complete();
args.Handled = true;
}
示例3: CalendarButton_ManipulationStarted
private void CalendarButton_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
{
SolidColorBrush brush = new SolidColorBrush();
brush.Color = (Color) App.Current.Resources["CalendarBackDarkGray"];
CalendarButton.Background = brush;
}
示例4: gotoEditProfile
void gotoEditProfile(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.Navigate(new Uri("/EditProfile.xaml",
UriKind.Relative));
args.Complete();
args.Handled = true;
}
示例5: ExecuteCommand
private void ExecuteCommand(object sender, ManipulationStartedEventArgs e)
{
ICommand cmd = (ICommand)((Image)sender).Tag;
if (cmd != null)
cmd.Execute(null);
}
示例6: logout
void logout(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.Navigate(new Uri("/HealthTips.xaml",
UriKind.Relative));
args.Complete();
args.Handled = true;
}
示例7: OnTextBlockManipulationStarted
void OnTextBlockManipulationStarted(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.GoBack();
args.Complete();
args.Handled = true;
}
示例8: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
GetRandomPicture();
args.Complete();
base.OnManipulationStarted(args);
}
示例9: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
camera.Show();
args.Complete();
args.Handled = true;
base.OnManipulationStarted(args);
}
示例10: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
if (!DemoAutoSlide)
{
PumpDemoFrames(null, null);
}
base.OnManipulationStarted(args);
}
示例11: logout
void logout(object sender, ManipulationStartedEventArgs args)
{
MessageBox.Show("Stay frosty");
this.NavigationService.Navigate(new Uri("/MainPage.xaml",
UriKind.Relative));
args.Complete();
args.Handled = true;
}
示例12: viewProfile
void viewProfile(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.Navigate(new Uri("/Profile.xaml",
UriKind.Relative));
args.Complete();
args.Handled = true;
MessageBox.Show("this ill wrk");
}
示例13: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs e) {
if (e.OriginalSource is Image && isGameing) {
Image img = e.OriginalSource as Image;
this.MoveTileAndCheckGameOver(img);
e.Complete();
e.Handled = true;
}
base.OnManipulationStarted(e);
}
示例14: imgWarning_ManipulationStarted
private void imgWarning_ManipulationStarted(
object sender, ManipulationStartedEventArgs e)
{
e.Complete();
e.Handled = true;
MessageBox.Show(Properties.Resources.WarningStorePassword,
(string)chkStore.Content, MessageBoxButton.OK);
}
示例15: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
ContentPanel.Background = new SolidColorBrush(
Color.FromArgb(255, (byte)rand.Next(255),
(byte)rand.Next(255),
(byte)rand.Next(255)));
base.OnManipulationStarted(args);
}