This project has moved. For the latest updates, please go here.

How add custom button on player

Jul 17, 2014 at 12:37 AM
Hi Henric, i'm want to add custom button on player like this:
Image

I'm see it windows 8.1 store app(name is Güncel Televizyon).
Jul 17, 2014 at 8:58 AM
Add a Grid next to the mediaElement and place there anything you want.

<Grid x:Name="ContentPanel" >
...

</Grid>

<Grid x:Name="buttonsOnTop" >
<Button Content="Button" HorizontalAlignment="Left" Margin="907,348,0,0" VerticalAlignment="Top"/>
</Grid>
Jul 17, 2014 at 1:37 PM
wdarins wrote:
Add a Grid next to the mediaElement and place there anything you want.

<Grid x:Name="ContentPanel" >
...

</Grid>

<Grid x:Name="buttonsOnTop" >
<Button Content="Button" HorizontalAlignment="Left" Margin="907,348,0,0" VerticalAlignment="Top"/>
</Grid>
But this is normal button, not together autohide :(
Jul 17, 2014 at 1:54 PM
Take a look at you question and say how can I know that you want auto-hiding buttons?
A tip for you: If you want auto-hide take a look at Canvas and play with TranslateY or TranslateX property together with DispatchTimer. Or even better with StoryBoard
http://msdn.microsoft.com/en-us/library/bb979882(v=vs.95).aspx
Jul 18, 2014 at 5:48 PM
Edited Jul 18, 2014 at 5:56 PM
wdarins wrote:
Take a look at you question and say how can I know that you want auto-hiding buttons?
A tip for you: If you want auto-hide take a look at Canvas and play with TranslateY or TranslateX property together with DispatchTimer. Or even better with StoryBoard
http://msdn.microsoft.com/en-us/library/bb979882(v=vs.95).aspx
i know how to add timer and auto hide but , my question is how to make players internal button, Is there a way to do?