c# - WPF MediaElement fullscreen controls -


ill keep simple, have mediaelementcontrol playing full screen using following code

canvasmoviecategoryitem.children.remove(uimediaplayer);  uimediaplayer.width = system.windows.systemparameters.primaryscreenwidth; uimediaplayer.height = system.windows.systemparameters.primaryscreenheight;  this.background = new solidcolorbrush(colors.black); this.content = uimediaplayer; this.windowstyle = windowstyle.none; this.windowstate = windowstate.maximized; 

this works nicely.

does know way of adding panel @ bottom when move mouse buttons control elements of active media element

make own player using user control mechanism. create user control insert panel @ bottom , mediaelement.

then control panel mousemove event of usercontrol when mouse position in area make panel visible.and when moves area make hidden.

hope got idea , helps.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -