Some affect on buttons when button click

Dear All,
I have 6 buttons in windows phone application page with Custom Control Template. I have also capture "Pressed" VisualState and change the button color which working fine.
However when any button click then I want to hide a all other buttons for 2 seconds and keep this Pressed button (in Pressed visual state) visible only. Is there any way to achieve this goal in "Pressed" VisualState?
I capture "Click" event of button and in this click, tried following codes
btnNearest.Opacity = 0;
btnInstructions.Opacity = 0;
btnFavorities.Opacity = 0;
btnServices.Opacity = 0;
btnInformationi.Opacity = 0;
Thread.Sleep(2180);
this.NavigationService.Navigate(new Uri(sUrl, UriKind.Relative));
However all buttons does not hide, but it looks when it navigate to new page then button hides but not during "Thread.Sleep".
Is there any way to hide all buttons for just 2 seconds and keep Pressed button visible (in Pressed state)?
Thanks in advance.
M. Irfan

Dear Vineet24,
Thank you for your message. It was good work-around but I am afraid, it does not work for me. Actually I am using Custom Template of button so only changing Button color will not help in this case. Following is the custom template which I used
on all buttons
<phone:PhoneApplicationPage
xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
........>
<phone:PhoneApplicationPage.Resources>
<ResourceDictionary>
<Style x:Key="CircleButtonTextOnlyStyle" TargetType="Button">
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="FontFamily" Value="/Fonts/DroidKufi-Regular.ttf#Droid Arabic Kufi" />
<Setter Property="Foreground" Value="White" />
<Setter Property="FontSize" Value="18" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Grid RenderTransformOrigin="0.5,0.5">
<Grid.RenderTransform>
<CompositeTransform Rotation="-5.75"/>
</Grid.RenderTransform>
<vsm:VisualStateManager.VisualStateGroups>
<vsm:VisualStateGroup x:Name="CommonStates">
<vsm:VisualState x:Name="Normal"/>
<vsm:VisualState x:Name="MouseOver">
<Storyboard>
<ColorAnimation Duration="0" Storyboard.TargetName="buttonPath" Storyboard.TargetProperty="(Path.Fill).(SolidColorBrush.Color)" To="#a9873c"/>
<ColorAnimation Duration="0" Storyboard.TargetName="buttonPath" Storyboard.TargetProperty="(Path.Stroke).(SolidColorBrush.Color)" To="#a9873c"/>
</Storyboard>
</vsm:VisualState>
<vsm:VisualState x:Name="Pressed">
<Storyboard>
<ColorAnimation Duration="0:10:59.9" Storyboard.TargetName="buttonPath" Storyboard.TargetProperty="(Path.Fill).(SolidColorBrush.Color)" To="#a9873c"/>
<ColorAnimation Duration="0:10:59.9" Storyboard.TargetName="buttonPath" Storyboard.TargetProperty="(Path.Stroke).(SolidColorBrush.Color)" To="#a9873c"/>
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
</vsm:VisualStateManager.VisualStateGroups>
<!--Data="M 10 20 L 70 17, 145 20, 110 130 70 128 50 130 Z"-->
<Path x:Name="buttonPath"
Data="M 5 20 L 80 23, 50 95 25 95 Z"
StrokeThickness="40"
StrokeLineJoin="Round"
Stroke="#464646"
Fill="#464646" />
<ContentPresenter VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"/>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
</phone:PhoneApplicationPage.Resources>
Thank you once again.
M. Irfan

Similar Messages

  • "Don't load tabs until selected" ... Where is the setting so that it affects the tabs when I click "Open all in tabs" from History?

    I am trying to reload all the tabs from history, it's a couple thousand. I am not concerned about system RAM I have 16GB. I know it will be slow, I'm not looking for any warnings or questions about why I have to reload that many tabs or how to work with the restore.bak sessionstore files.
    The question I need an answer to is, "What setting do I need to change so that when I reload multiple tabs, it doesn't say "connecting" on all of them even though I have already selected "Don't load tabs until selected"

    I think we both understand what you want. And we're both saying we are not aware of any built-in way to do this.

  • How can I access the iTunes store?  When I click on iTunes, my library appears but when I try to connect to the store I get a window saying Error -3221 has occured and cannot connect to the store.

    Can anyone please help!  I haven't been able to connect to the iTunes store to purchase music for some time now.  When I click on the iTunes icon my music library appears, but when I try to connect to the store (top RH side of window) I get a new window saying cannot connect to the store an erroe -3221 has occured.

    Baseal wrote:
    When I use her Earthlink email address to download apps or whatnot, it says I can't access teh itunes store. 
    When you say "her email address" do you mean that you set up a separate Apple ID for her using her email address as her Apple ID? If so, was it ever verified by Apple? Did she get the email verification?
    You might look here for some help.
    http://www.apple.com/support/appleid/

  • What do I do when iTunes App Store says too many http redirects when I click on the data categories or top 25 tabs

    I updated my iOS and downloaded some apps and then when I click on catagories or top 25 in the App Store it says too many http redirects.

    Clean the cookies and data, and also your history going on Settings>Safari.

  • No response when I click the apple symbol on macbook air

    Hi everyone, for some reason nothing happens when I click the apple symbol in Finder, Firefox, but when I use Keynote for example there is no problem.
    Thnaks for any suggestions, best A.

    Dear Loner T, thanks a lot or your quick reply - my current version is 10.9.5 and it is a MacBook Air from 2013.
    However - in the meantime before your reply -  I did do the following and got it working again: latest itunes update which came in just minutes after I posted this problem plus after the update I closed the mac via keynote (keynote and pages were the only programs where the apple symbol did respond) - strange, but now everything runs perfectly again.
    Very best, A. 

  • Why The previous URL is displayed when i click a link

    Hi,
    Iam using netbeans with visual web pack to develop some web application.
    When i click a link, let's say from home to stock, the correct page (stock.jsp) is displayed but the url still shows the homepage.
    Could you please explain me how to fix this?
    Thank you.

    Winston answers your question in this blog entry: http://blogs.sun.com/winston/entry/relative_url_problems_forward_vs

  • On my MacBook Pro, sometimes when I click to close tabs in Safari the button will not work.  I have to click on some other part of the screen and then it will.  This happens in other programs like Word/Excel for changing font, etc. Solution/Suggestions?

    On my MacBook Pro, sometimes when I click to close tabs in Safari the button will not work.  I have to click on some other part of the screen and then it will.  This happens in other programs like Word/Excel for changing font, etc. Solution/Suggestions?

    Start up in Safe Mode.
    http://support.apple.com/kb/PH4373

  • Why can't I change the content for some songs when I click the Get Info button?

    Why can't I change the content for some songs when I click the Get Info button?  The information on the song, artist, genre is grayed out and will not allow me to alter the information.

    Hi htechadmin,
    Revcevied your PM and noted all details, Many Thanks.
    Getting this addressed by the team, either they will reply to you, here, or they shall email Or Call you.
    Regards,
    LP

  • I am very new to Macs and iPhoto so this may be an idiot's question, but I have just created my first photo book and want to buy it, but the "buy book" button is not highlighted and when I click it nothing happens. Is there some step I am missing? Thanks!

    I am very new to Macs and iPhoto so this may be an idiot's question, but I have just created my first photo book and want to buy it, but the "buy book" button is not highlighted and when I click it nothing happens. Is there some step I am missing or some connection I need? I am on the internet. Thanks!

    I have now recently downloaded 10.0.2 which is confusing in itself, as, as far as I can ascertain that is actually version 11, but I'm not even sure about that.
    Version 10.0.2 is the newest version and the successor to GarageBand '11 (version 6.0.5).
    The '11 is referring to the iLife '11 suit of multimedia application - the older GarageBand was a part of this bundle.
    Have a look at Edgar's graphical enhanced manuals, the explain very detailed how things work and why. You can buy them as iBooks from the iBook store or directly from the page:
    http://DingDingMusic.com/Manuals/

  • Visual Studio 2008 Crashes when I click on the [Main Report Preview] button

    I started with Crystal Reports Basic that is bundled with Visual Studio, and then downloaded and installed the free trial of Crystal Reports Developer 2008, and the Visual Studio Integration Manager, the issue has not been affected.
    After adding a crystal report to the project and using the wizard to set it up, and adding a Crystal Reports Viewer to a form I encountered these two (perhaps related) problems.
    1)      When I click on the [Main Report Preview] button at the bottom of the report editor for Visual Studio crashes without any error message and needs to be restarted.
    2)      When I set the viewer  Report Source property to the report via the drop down the following error occurs:
    a.       u201CUnable to find the report in the manifest resources.  Please build the project and try again.u201D
    b.      Building the project has no affect and the same error reoccurs repeatedly.

    The original version of CR 2008 did not work with .NET 2008. If your version is 12.0.0.549, you need to apply SP0:
    https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip
    then I'd highly recommend SP 3:
    https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    If your version is higher than 12.0.0.549, apply SP3 and try again.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • I am unable to install the latest version of Muse 2014. When I open Muse it comes up with a 'new version is available' and when I click on 'install now' it takes me to the adobe muse website where I click on the 'Download' button. It will then come up wit

    When I open Muse it comes up with a 'new version is available' and when I click on 'install now' it takes me to the adobe muse website where I click on the 'Download' button. It will then come up with 'Muse is downloading now'. It will then take me back to the Muse app again with the same 'install now' message. The new version has not installed, could some one please let me know the reason why it isn't installing.

    Hi Jeff I have uninstalled Muse from my applications and have tried to download the new version but it displays a message 'file not found'. I have included a screenshot.

  • Computer shuts down when I click on the list or grid display button

    I've uninstalled an reinstalled 3 times and instead of the computer shutting down when I start itunes as it was doing, it only does it when I click on the display as a list, grid or cover display button. However it seems to unistall some parts at the same time as I can't open it all afterwards (error message says its not installed). This started to occur after a couple of weeks of non use and when I last used it I purchased songs from itunes. I now have current version but didn't when it first statred to happen. Help!!

    Okay ... we'd better have a closer look at the minidumps the PC has been producing to see if they can turn up any additional information on what we're dealling with here.
    Open "My Computer", and see if you can find a directory called C:\Windows\Minidump. (That's where minidumps usually go on a PC, so long as the Systemroot hasn't been set to some other folder.)
    If it's been collecting minidumps, there should be files in there with names like "Mini(number-numbers).dmp"
    (If you have "Hide filename extensions for known file types" enabled in Windows, the ".dmp" extension may not appear on the dump files. The numbers in the file name will be different for each minidump, if minidumps are present.)
    Once we've tracked down some minidumps, we can have a go at analysing them.
    1. Download and install the Windows debugging tools from here:
    http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
    2. Go to Start, All Programs, Debugging Tools For Windows, Windbg
    Once you open Windbg, you will presented with a blank screen.
    3. Click on "File > Symbol File Path". Here you will enter the symbols
    path. Symbols are needed to effectively debug.
    The path will be:
    SRVc:symbolshttp://msdl.microsoft.com/download/symbols
    4. Enter in this path and click OK. Now, go to "File > Save Workspace"
    so that your symbols path is saved for future use.
    5. Go to "File > Open Crash Dump" and load the file.
    (An "Open Crash Dump" screen will appear ... doubleclick "My Computer", doubleclick "Local Disk", doubleclick "Windows", doubleclick "Minidump", and doubleclick on one of the minidumps in there.)
    You will/should get a message to save base workspace information. Choose no.
    Now you will get a debugging screen. It takes a little bit to run it,
    as the symbols have to be downloaded as they are needed.
    After the "bugcheck analysis" part of the screen comes up, look for the component that seems to be causing the crash. (It'll say "Probably caused by" ...)
    Let us know the precise name of the component. (Include any file name extensions like .dll or .sys.)
    If you can, have a look at several of your crash dumps. Are all the crashes being caused by the same component? If not, could you let us know the names of the various components being cited in the various crash dumps?

  • When I click on the Moilla button on my desktop, the firefox start page that shows up has no Mozilla button to access print, history. options etc., it just says mozilla firefox start page at the top. rt page tc.

    When I click on the Mozilla icon on my desktop, a mozilla firefox startpage come up that has NO mozilla button to click and access print, history, options etc. Also the whole page automatically shifts down slightly to show only google question box and no address bar. Also, there used to be a place where I could click on most accessed pages, but that disappeared a couple of weeks ago. I have an HP computer and never know what the start page will look like.

    Hey plainmad,
    Did you recently upgrade Firefox? I would be willing to be that everything is still there, it's just hidden. Take a look [https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36 this article]. It will give you some tips on how to bring back any of the options you might not see.
    Hopefully this helps!

  • My 'clear history button is not working. When I click on it it doesn't do anything and the letter are gray instead if blue like usual. I've gone to every type of settings I can bit I don't know how to fix it. Please help .

    My 'clear history button is not working. When I click on it it doesn't do anything and the letters are gray instead of blue like usual. I've gone to every type of settings I can think of but I don't know how to fix it. Please help .

    T
    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                 
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • Download the PDF Form as a attachment when button click in BSP application

    Hi All,
    I have scenario, when button click in the BSP application PDF Form want to download in the IE (like one window open with Open,Save and cancel button).
    I have written this code:
    data: pdf type fpformoutput-pdf.
    < Logic for populate value to pdf field ....
    .>
    response->set_header_field(
                         name  = 'cache-control'
                         value = 'max-age=0' ).
      response->set_header_field(
                         name  = 'content-disposition'
                         value = 'attachment; filename=webforms.pdf' ).
      response->set_data( data   = pdf ).
    Once button is clicked pop up is opened and closed automatically because of browser or adobe reader issue.
    How can I resolve this problem ?
    In the IE i need to change any settings ?
    IE version = 7.0
    Adobe reader = 9.0
    I have tried in the same code with IE = 6.0 and adobe reader 8.1.2 its getting download the pdf form working fine.
    The same think i want in IE 7.0 and adobe reader 9.0, what needs to be done ?
    Regards,
    Boopathi M

    Hello Ravi,
    Best would be to bind the dataSource of the InteractiveForm ui element to the parent node containing the table's data. Then specify a name of a template to be created in the templateSource and hit <enter>. Some popups later, the system will have created a template from the structure of the context. All you need to do now is to drag&drop the data structure inside the template designer to the template itself. This will result in a table. Save, activate and return the Web Dynpro view. Don't forget to unbind the pdfSource and enjoy.
    Best regards,
    Thomas

Maybe you are looking for

  • Recording Video to SD - 4GB Limit?

    I've encountered a bug with the video camera on the Z10.  I'm using what I assume is the latest version of the software that was pushed out recently (10.2.1.2102). I was recording video and after half an hour or so I received an error message stating

  • Oracle 9i function to perform data manipulation

    Hi everyone, I have two scenarios. I would like to write one Oracle 9i function that can accommodate both these scenarios, using PL/SQL developer. I intend passing a varchar2 parameter to this function. Within the function, I perform a select on a ta

  • Incorrect update SIS table for Product Allocation

    I have set up product allocation, use a custome table S501. S501 contains characteristics fields: KONOB: Product allocation object VKORG: Sales Org. VTWEG: Distribution Channel ZZREGION: Region (custom field) MATNR: Material code When I create and sa

  • Event for Editing a cell in Tableview Iterator

    Hi, I'm doing a program for displaying the Material Details with Quantity as Editable Field. I want to edit the Quantity during runtime & it should reflect it in the Internal Table. If i edit the Quantity field & goto the next row then then the Quant

  • Bug found in Deploy a domain controller and member using Windows Azure Virtual Machines. With fix

    I have been working with the script found at http://gallery.technet.microsoft.com/scriptcenter/Deploy-a-domain-controller-2ab7d658 as a base for my azure deployments. I ran into a situation where if a VNetwork already had a DNS entry it wouldn't allo