Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9061185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:25:16+00:00 2026-06-16T15:25:16+00:00

I am making WPF application that plays a video. I use MediaElement , I

  • 0

I am making WPF application that plays a video.
I use MediaElement, I wish to add Play/Pause button, I want that image button to be in shape of play, and only the image i put on the button will be shown. the rest to be transparent.

e.g: put a play triangle image on a rectangle button will only show the triangle image.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T15:25:17+00:00Added an answer on June 16, 2026 at 3:25 pm

    You’re going to have to “make your own”, fortunately it’s not that hard, here is a working example (doesn’t handle mouse hovering though):

       <Grid Background="Black">
          <Button HorizontalAlignment="Center" VerticalAlignment="Center">
             <Button.Template>
                <ControlTemplate TargetType="Button">
                   <StackPanel>
                      <ContentPresenter Content="{TemplateBinding Content}" />
                   </StackPanel>
                </ControlTemplate>
             </Button.Template>
             <Path Data="M 0,0 L 15,10 L 0,20" Fill="Green"/>
          </Button>
       </Grid>
    

    The grid is only here to show that only the arrow is actually drawn, and the Path thing is vectorial data to draw a Play button.

    It looks like this:

    Play button

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making my own ControlTemplate for a standard Button in WPF. I want to
I a WPF/C# application that has a psuedo-process of Click a button > Start
I'm making a WPF application making use of the MVVM light framework. What I'm
I am making a WPF application and I want to release a beta version
I'm making a simple WPF application with shapes that are drawn on a canvas.
I'm making a Wpf Application. My problem is that I'm using a DataGrid to
I'm making a WPF application that is comprised of Screens (Presenter + View). I
I am making a WPF-application.I have a datagrid with a column header that contains
Currently i am looking into making a bar chart in my WPF application. Although
So I am making a piece of software in WPF, and I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.