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 8617097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:46:33+00:00 2026-06-12T05:46:33+00:00

I have some buttons that I’m changing the ControlTemplates for so I can use

  • 0

I have some buttons that I’m changing the ControlTemplates for so I can use Images as the appearance.

I have one image for the normal state and one Image for the PointerOver or Pressed state.

This is where I’m a bit confused: I want this to work on both tablets and desktops. I tried setting the Pressed state but it forces me to double-click on the button to get it to activate. If I set the PointerOver the click works fine; if I set PointerOver and Pressed to the same it works fine. Why is it forcing one click to activate the Pressed state and another click to activate the button Click/Command?

If this is intended, is the idea that I set both PointerOver and Pressed states so it works on desktop? But will this also work on a tablet? I.e., if the user presses a button he/she obviously doesn’t have the PointerOver state, so will it not create the scenario I previously described?

  • 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-12T05:46:35+00:00Added an answer on June 12, 2026 at 5:46 am

    If you do not define a state then it assumes that the state is the same as the “normal” state (the default xaml in the template). Setting Pressed and PointerOver do work on a tablet. Most users will not get the PointerOver state, but some tablets have pen support which will show the state when the pen is hovering over the tablet. Some other tablets have sensors and can detect a finger close to the screen. This will also give the PointerOver state.

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

Sidebar

Related Questions

I have some png image buttons that I use in my app. But they
I have some MovieClips that act like buttons, how can i do that when
I have a userForm that consists of some buttons that have images on them.
In my application I have a UITableView and some buttons that the user can
I have some dynamic buttons that look like this: <input type=button name=button id=button value=Click
I have a winform with some buttons that are updated in an event handler.
I have some buttons in an UIView. My problem is, that they get cut
We have a custom JSF component that renders some buttons and a select box
I have the following form in a Struts2 JSP that contains some radio buttons.
I created some widgets with jQuery UI and I notice that buttons have a

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.