RevealImage
Наследование: System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector
Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.revealImage = ((MahApps.Metro.Controls.RevealImage)(target));
     return;
     case 2:
     this.OnMouseLeave1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.grid = ((System.Windows.Controls.Grid)(target));
     
     #line 44 "..\..\..\..\Controls\RevealImage.xaml"
     this.grid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.GridMouseEnter);
     
     #line default
     #line hidden
     return;
     case 4:
     this.border = ((System.Windows.Controls.Border)(target));
     return;
     case 5:
     this.textBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
 private void GridMouseEnter(object sender, MouseEventArgs e)
 {
     RevealImage.TypewriteTextblock(this.Text.ToUpper(), this.textBlock, TimeSpan.FromSeconds(0.25));
 }