本文整理汇总了C#中System.Windows.Input.ManipulationStartedEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# ManipulationStartedEventArgs类的具体用法?C# ManipulationStartedEventArgs怎么用?C# ManipulationStartedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ManipulationStartedEventArgs类属于System.Windows.Input命名空间,在下文中一共展示了ManipulationStartedEventArgs类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
txtblk.Foreground = originalBrush;
args.Complete();
base.OnManipulationStarted(args);
}
开发者ID:uhealin,项目名称:asskicker,代码行数:7,代码来源:MainPage.xaml.cs
示例2: OnT6ManipulationStarted
void OnT6ManipulationStarted(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.Navigate(new Uri("/T6.xaml", UriKind.Relative));
args.Complete();
args.Handled = true;
}
开发者ID:aameijide,项目名称:wp7-Tramcelona,代码行数:7,代码来源:MainPage.xaml.cs
示例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;
}
开发者ID:richardaum,项目名称:Metroist-for-Windows-Phone,代码行数:7,代码来源:AddTask.xaml.cs
示例4: gotoEditProfile
void gotoEditProfile(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.Navigate(new Uri("/EditProfile.xaml",
UriKind.Relative));
args.Complete();
args.Handled = true;
}
开发者ID:BarkaBoss,项目名称:MedicNaijaWP7,代码行数:7,代码来源:Profile.xaml.cs
示例5: ExecuteCommand
private void ExecuteCommand(object sender, ManipulationStartedEventArgs e)
{
ICommand cmd = (ICommand)((Image)sender).Tag;
if (cmd != null)
cmd.Execute(null);
}
开发者ID:ttu,项目名称:Match-Rate,代码行数:7,代码来源:FightControl.xaml.cs
示例6: logout
void logout(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.Navigate(new Uri("/HealthTips.xaml",
UriKind.Relative));
args.Complete();
args.Handled = true;
}
开发者ID:BarkaBoss,项目名称:MedicNaijaWP7,代码行数:7,代码来源:DashBoard.xaml.cs
示例7: OnTextBlockManipulationStarted
void OnTextBlockManipulationStarted(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.GoBack();
args.Complete();
args.Handled = true;
}
开发者ID:uhealin,项目名称:asskicker,代码行数:7,代码来源:SecondPage.xaml.cs
示例8: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
GetRandomPicture();
args.Complete();
base.OnManipulationStarted(args);
}
开发者ID:uhealin,项目名称:asskicker,代码行数:7,代码来源:MainPage.xaml.cs
示例9: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
camera.Show();
args.Complete();
args.Handled = true;
base.OnManipulationStarted(args);
}
开发者ID:uhealin,项目名称:asskicker,代码行数:8,代码来源:MainPage.xaml.cs
示例10: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
if (!DemoAutoSlide)
{
PumpDemoFrames(null, null);
}
base.OnManipulationStarted(args);
}
开发者ID:kfirt,项目名称:BlindPhone,代码行数:8,代码来源:MainPage.xaml.cs
示例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;
}
开发者ID:BarkaBoss,项目名称:MedicNaijaWP7,代码行数:8,代码来源:DashBoard.xaml.cs
示例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");
}
开发者ID:BarkaBoss,项目名称:MedicNaijaWP7,代码行数:8,代码来源:DashBoard.xaml.cs
示例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);
}
开发者ID:lintghi,项目名称:puzzle,代码行数:9,代码来源:TilePage.xaml.cs
示例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);
}
开发者ID:MarioBinder,项目名称:7Pass,代码行数:9,代码来源:Password.xaml.cs
示例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);
}
开发者ID:uhealin,项目名称:asskicker,代码行数:9,代码来源:SecondPage.xaml.cs
示例16: MyPivot_ManipulationStarted
private void MyPivot_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
{
if (e.OriginalSource.GetType().Name == "Image")
{
MyPivot.IsLocked = true;
}
else
MyPivot.IsLocked = false;
}
开发者ID:joewen,项目名称:KKWindowsComponent,代码行数:9,代码来源:MainPage.xaml.cs
示例17: OnTextBlockManipulationStarted
void OnTextBlockManipulationStarted(object sender,
ManipulationStartedEventArgs args)
{
txtblk.Foreground = new SolidColorBrush(
Color.FromArgb(255, (byte)rand.Next(256),
(byte)rand.Next(256),
(byte)rand.Next(256)));
args.Complete();
args.Handled = true;
}
开发者ID:uhealin,项目名称:asskicker,代码行数:10,代码来源:MainPage.xaml.cs
示例18: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
Uri uri = new Uri("http://www.charlespetzold.com/Media/HelloWP7.jpg");
BitmapImage bmp = new BitmapImage(uri);
img.Source = bmp;
args.Complete();
args.Handled = true;
base.OnManipulationStarted(args);
}
开发者ID:uhealin,项目名称:asskicker,代码行数:10,代码来源:MainPage.xaml.cs
示例19: OnManipulationStarted
/// <summary>
/// Called when the <see cref="E:System.Windows.UIElement.ManipulationStarted" /> event occurs.
/// </summary>
/// <param name="e">The data for the event.</param>
protected override void OnManipulationStarted(ManipulationStartedEventArgs e)
{
base.OnManipulationStarted(e);
if (e.Handled)
{
return;
}
e.Handled = this.Controller.HandleTouchStarted(this, e.ToTouchEventArgs(this));
}
开发者ID:Cheesebaron,项目名称:oxyplot,代码行数:14,代码来源:PlotView.TouchEvents.cs
示例20: ExecuteCommand
// Commands can't be binded yet so have to use code behind
private void ExecuteCommand(object sender, ManipulationStartedEventArgs e)
{
ICommand command = (ICommand)((StackPanel)sender).Tag;
if (command != null)
{
command.Execute(null);
Pages.SelectedIndex = 1;
}
}
开发者ID:ttu,项目名称:Match-Rate,代码行数:11,代码来源:MainPage.xaml.cs
注:本文中的System.Windows.Input.ManipulationStartedEventArgs类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论