Home > Net >  WPF video control outer add a mobile control
WPF video control outer add a mobile control

Time:11-14

Currently have a requirement is need add, in the front of the real-time display video controls the cursor position, can control the cursor to a cross,
 



 
This. Canvas_video. SetValue (Grid. ZIndexProperty, 100);

The Panel. SetZIndex (TTT, 112);
The Panel. SetZIndex (label_ttt, 9999);
Label_ttt. Focus ();

Code is written so that video controls in the process of start to see the label information, after the real video information collected, the label was covered, and again set ZIndex bad to use,
Everyone a great god, help to see how to put the label on the outer display, without affecting the behind real time video information,

CodePudding user response:

Move the Label to the bottom of Canvas, not in content,
  • Related