How to dismiss messageDialog programaticaly in Windows Phone 8.1..?

How can I dismiss a Message dialog programmatically in Windows Phone 8.1. I created the dialog using showAsync(). If this is not possible which is the best method to create a custom message dialog
with the following properties:
1. It can show test and hold buttons for user interaction.
2. It can be dismissed programmatically
3. Should block the view as a Normal MessageDialog do

This forum is for XP Embedded. Please post to one of the mobile developer forums:
https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowsmobiledev
www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET

Similar Messages

  • How to print a grid from windows phone 8.1 application

    Hello ,
    I want to print a grid from a windows phone application.
    For tablet I can print using this namespace:
    using Windows.Graphics.Printing;
    using Windows.UI.Xaml.Printing;
    But they are only for Tablet.
    Please suggest a solution of printing from windows 8.1 phone application.
    Thanks

    Hi waqar.haider.confiz,
    >>How to print a grid from windows phone 8.1 application                                 
    As far as I known, in Windows Phone 8.1 app it does not have such API for us to print a grid. I will recommand you submit this feature request on this
    UserVoice forum.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to solve this error from window phone 80073cf9 lumia 630.

    any one know how to solve this error from window phone 80073cf9  lumia 630.

    Hello Muhammad,
    We appreciate the post, but this forum is for Windows Store and Phone Developer related questions. Your question can best be answered through the
    Windows Phone support page.
    Thanks!
    -Jonathan
    Windows Store Developer Support
    Office Store Developer Support

  • How to deploy galileo app in windows phone

    Hi Everybody,
    Could you please suggest how to deploy galileo app in windows phone ? .
    I have built this app in C++
    Seeking your co-operation and support..
    Thanking you,

    Only Metro/Store style apps can be installed on Windows phones - unless you're an OEM
     -Brian
    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

  • How to disable webview cache for Windows Phone 8.1 Runtime universal app?

    Is it possible to disable cache for the Webview control for a Windows Phone 8.1 runtime universal app? My App seems to be remembering the information it received the first time. My app logs me into a service and when I go back to rerun app in the emulator
    (without completing shutting down the emulator) it logs me in automatically rather than giving me the prompt. This behavior is in the NavigationCompleted handler if that helps explain a bit more on where I am hitting this issue.
    If I were to shut off the emulator completely and then restart it then I am prompted for the login name and password again. I have gotten over this cache issue, when I was using the HttpClient in other part of my app, by sending the no-cache in the header
    as:
    client.DefaultRequestHeaders.Add("Cache-Control", "no-cache");
    Can I do something similar for the webview control?
    thanks
    mujno

    Hi mujno,
    As I know currently there is no programmatically way to clean cache for WebView, see Matt's blog:How to clear the WebView cache
    However if you are developing an enterprise app, you should be able to invoke some scripts to clean for you, see this for more information:Brokered
    Windows Runtime Components for side-loaded Windows Store apps
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to develop a Library for Windows Phone 8.1?

    Hello guys!
    I'm a quite new developer in this topic, I have never created a Library and right now, I need to create a library using this project of C because the normal OCRs cannot recognize 7 segments display:
    https://www.unix-ag.uni-kl.de/~auerswal/ssocr/
    Last year, I used a library for SQLite (in the beginning it didn't have a Nuget package) and you must add a C++ project to execute SQLite code in WP8. I hope someone might give me an idea where to read and help me with this project. Thanks a lot
    for your worthy knowledge.
    Federico Navarrete

    I need to use a special OCR that detects 7 Segments Displays. I have been reading during the week and I discovered that the most similar project is this one:
    Seven Segment Optical Character Recognition
    However it's a C project not a C# or VB and I must create a special library (or project) to integrate with my Windows Phone App. As I said before last year I used this article:
    How to use SQLite in Windows Phone
    And in the beginning it was just a C++ project that you must add to manipulate SQLite. So, I think I should create something like that for migrate those libraries and later integrate with my project but I have never worked with this kind of libraries
    or create C/C++ libraries that finally will work with a C# App. Thanks for your time.
    Federico Navarrete

  • How to display pdf file in windows phone 8 silver light application?

    Hi,
    I am developing windows phone 8 silver light application . For my app I want to display pdf files . Is there any default controls to display pdf files ?
    I don't want to display using launchers , I want to display with in the app.
    any help,
    Thanks..
    Suresh.M

    Probably this should give you a fair idea : How to view PDF file inside an Windows Phone application?
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • How to import MySql database to windows phone 8.1 app

    Hello everyone I'm Designing a new windows phone 8.1 app and I need some help from you.
    I have a database that Im using for the some app but for Windows.
    currently using db4free.net
    and use this code
      Mysqlconn = New MySqlConnection
            Mysqlconn.ConnectionString = "server=db4free.net;Port=3306; user id=%%%%%; password=%%%%%%%; database=%%%%%%%%"
            Dim READER As MySqlDataReader
            Try
                Mysqlconn.Open()
                Dim Query As String
                Query = "SELECT * FROM Manager WHERE Name='" & TextBox1.Text & "' AND Password='" & TextBox2.Text & " ' "
                Command = New MySqlCommand(Query, Mysqlconn)
                READER = Command.ExecuteReader
                Dim count As Integer
                count = 0
                While READER.Read
                    count = count + 1
                End While
                If count = 1 Then
                    MsgBox("Mire se vini'" & TextBox1.Text & "'")
                    FORMAKRYESORE.Show()
                    Me.Close()
                ElseIf count > 1 Then
                    MsgBox("Mire se vini'" & TextBox1.Text & "'")
                Else
                    MsgBox("Manager'" & TextBox1.Text & "' is not in the data")
                End If
                Mysqlconn.Close()
            Catch ex As MySqlException
                MsgBox(ex.Message)
            Finally
                Mysqlconn.Dispose()
            End Try
    this is the code that  I use to login.  but on windows phone cant import Mysql connector. not sure why... any suggestion how to deal with this?
    or should I use SQLite? I dont know nothing about the code on SQLite...

    If this is supposed to work just on the phone then SQLite or a Local database.
    https://msdn.microsoft.com/en-us/library/windows/apps/hh202860(v=vs.105).aspx
    For small amounts of data, serializing and deserializing classes to isolated storage is faster.
    Phones aren't always connected to the interweb.
    Even if you are planning on using a central database on some server and connecting via services, you will almost always also need to store some data locally.
    It's in your interest to ask questions in the appropriate forum for the technology you're using.
    As it is, you're asking wpf developers a question about windows store app development.
    It's similar but different.
    Which is probably why Magnus is unaware of local database and I probably omitted something else.
    It's not what we do.
    I've written a grand total of one windows store apps.
    Magnus probably has a similar level of experience.
    Hope that helps.
    Recent Technet articles:
    Property List Editing ;  
    Dynamic XAML

  • How to play live streaming in windows phone 8.1 silverlight app?

    Hi,
    I am developing a windows phone 8.1 silverlight app. In my I want to show live streaming youtube channel , I think it is not possible, 
    Actually that youtube channel is a television channel , I want to stream that live tv in my app.(I tried to load youtube channel in webbrowser in iframe tag but it is not opening)
    Anybody help me how to play live tv or live streaming in my app,
    Thanks..
    Suresh.M

    Hello,
    You will likely need to write a custom
    MediaStreamSource that can access the media stream and parse it. Windows Phone supports h.264 natively and as long as the site serves up a media stream that contains h.264 frames you can parse it and have our built in decoder decode and display it. You
    will need to have intimate knowledge of the streaming protocol used by the website that you are trying to play. You must also make sure that the website is not using protected content. IANAL so I would recommend that you have your local law professional
    (lawyer) review the licensing of the website that you are attempting to connect to and stream from before continuing your development. Your lawyer can make sure make sure their licensing allows you to do this.
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • How to make backward compatibility of windows phone 8.1 app for windows phone 7?

    I developed windows phone 8.1 app which is in windows phone store. Now, i want to make this app compatible for windows 7 also. Is it possible, if yes then how?

    It may be that you are using non-backward compatible capabilities in your Windows Phone 8.1 app(s).
    Developers that want to develop for different OS's usually have platforms with the different OS's on them for developing applications so they work on each platform.
    I suppose you developed for Windows phone 8.1 rather than Windows phone 7. Therefore your app runs on a different framework than a Windows phone 7 has as well as probably newer hardware with greater capabilities.
    So you will probably need to purchase an older phone that came with Windows phone 7 in order to develop for. I couldn't find documentation like the last link below (App capabilities and hardware requirements for Windows Phone 8) for Windows phone 7
    from Microsoft but maybe you can.
    Windows Phone OS 7.1 - Developing a Windows Phone Application from Start to Finish
    Types of Applications
    The Windows Phone application platform provides two frameworks for developing applications:
    Silverlight
    The Silverlight framework supports event-driven, XAML-based application development.
    XNA
    The XNA Framework supports loop-based games.
    Silverlight and XNA can also be combined in a single application.
    The following table lists some of the criteria that you can use to determine whether you should use Silverlight or the XNA Framework for your Windows Phone application. With Windows Phone OS 7.1, you can combine Silverlight and XNA into one application. 
    For more information about Silverlight and XNA, see
    The Silverlight and XNA Frameworks for Windows Phone. For more information about the application platform, see
    Application Platform Overview for Windows Phone.
    What's New in Windows Phone 8.1
    Platform convergence with Windows Store apps
    Windows Phone 8.1 introduces an important change in the Windows Phone developer ecosystem. In this release, Windows Phone converges with the Windows Store apps platform into a single developer platform that runs the same types of apps—Windows Runtime apps.
    Platform convergence began in Windows Phone 8, which supports a small subset of Windows Runtime APIs, but which differs from Windows in many core areas. In Windows Phone 8.1, there’s so much more in common—a much larger API set, a similar app model
    and life cycle, a shared toolset, a common UI framework—Windows Phone and Windows Store app developer platforms truly have become one, single development platform.
    Of course there are still some small differences in behavior and supported features between Windows Phone and Windows Store apps. Some of these are the result of timing of the different product cycles, and they may not appear in future releases. Some differences
    are the result of the different natures of phones and computers, their sizes, and the way people use them. We encourage developers to think in terms of Windows app development—developing for a single Windows Runtime, but targeting two different platforms on
    phones and computers.
    Required Tools for Windows Phone Development
    App capabilities and hardware requirements for Windows Phone
    8
    La vida loca

  • How to get os version on window phone?

    how to get os version(8.0 or 8.1) on window phone?

    The problem is
    WP8.1 has many versions. Sometimes it is very helpful to know the exact version because some versions have limitations
    or bugs.
    Hong

  • How to access Calendar Events in Windows Phone 8.1 SDK

    Hi,
    I have multiple email accounts setup on my Windows Phone 8.1.
    I have requirement to access appointments in calendar for specific email accounts and perform some operation. I found sample code on MSDN and all of the are examples of using Microsoft.Phone namespace. But as I am using Windows Phone 8.1 SDK and not Windows
    Phone 8.1 Silverlight SDK.
    Can someone guide me of an equivalent namespace/method of accessing calendar appointments using Windows Phone 8.1 SDK.
    Thanks,
    Nasir

    Hi nasir,
    If you would like to modify the server side appointments I believe you need to call server side api to manipulate them.
    For instance if we would like to modify the data into O365 server,
    Get started with the SharePoint 2013 REST service should be a good start. Also calling Exchange
    Web services is a good idea.
    --James  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to use a multiselector in Windows Phone 8.1

    In Windows Phone 8.0, we have "LongListMultiSelector" to make a multiselect list.
    However, in Windows Phone 8.1, I cannot find any tool like "LongListMultiSelector" that can select two or more items.
    (It seems that ListView can only select a single item.)
    So is there any tool like "LongListMultiSelector" that can be used in WP8.1? Thx~

    Hi , Just modify ListView style you can create your own design. 
    Main style of ListView Item is as below
    <Style TargetType="ListViewItem" x:Key="ListViewItemExpanded">
    <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
    <Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
    <Setter Property="Background" Value="Transparent"/>
    <Setter Property="TabNavigation" Value="Local"/>
    <Setter Property="IsHoldingEnabled" Value="True"/>
    <Setter Property="Margin" Value="0,0,18,2"/>
    <Setter Property="HorizontalContentAlignment" Value="Left"/>
    <Setter Property="VerticalContentAlignment" Value="Top"/>
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="ListViewItem">
    <Border x:Name="OuterContainer">
    <VisualStateManager.VisualStateGroups>
    <VisualStateGroup x:Name="CommonStates">
    <VisualState x:Name="Normal"/>
    <VisualState x:Name="PointerOver">
    <Storyboard>
    <DoubleAnimation Storyboard.TargetName="PointerOverBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectionBackground"
    Storyboard.TargetProperty="Fill">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" />
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedBorder"
    Storyboard.TargetProperty="Stroke">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBorderThemeBrush}" />
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedEarmark"
    Storyboard.TargetProperty="Fill">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" />
    </ObjectAnimationUsingKeyFrames>
    </Storyboard>
    </VisualState>
    <VisualState x:Name="Pressed">
    <Storyboard>
    <PointerDownThemeAnimation TargetName="ContentContainer" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="PointerOverPressed">
    <Storyboard>
    <PointerDownThemeAnimation TargetName="ContentContainer" />
    <DoubleAnimation Storyboard.TargetName="PointerOverBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectionBackground"
    Storyboard.TargetProperty="Fill">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" />
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedBorder"
    Storyboard.TargetProperty="Stroke">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBorderThemeBrush}" />
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedEarmark"
    Storyboard.TargetProperty="Fill">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedPointerOverBackgroundThemeBrush}" />
    </ObjectAnimationUsingKeyFrames>
    </Storyboard>
    </VisualState>
    <VisualState x:Name="Disabled">
    <Storyboard>
    <DoubleAnimation Storyboard.TargetName="contentPresenter"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="{ThemeResource ListViewItemDisabledThemeOpacity}" />
    </Storyboard>
    </VisualState>
    </VisualStateGroup>
    <VisualStateGroup x:Name="FocusStates">
    <VisualState x:Name="Focused">
    <Storyboard>
    <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisual" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="Unfocused"/>
    <VisualState x:Name="PointerFocused"/>
    </VisualStateGroup>
    <VisualStateGroup x:Name="SelectionHintStates">
    <VisualState x:Name="VerticalSelectionHint">
    <Storyboard>
    <SwipeHintThemeAnimation TargetName="SelectionBackground" ToVerticalOffset="15" ToHorizontalOffset="0" />
    <SwipeHintThemeAnimation TargetName="ContentBorder" ToVerticalOffset="15" ToHorizontalOffset="0" />
    <SwipeHintThemeAnimation TargetName="SelectedBorder" ToVerticalOffset="15" ToHorizontalOffset="0" />
    <SwipeHintThemeAnimation TargetName="SelectedCheckMark" ToVerticalOffset="15" ToHorizontalOffset="0" />
    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="HintGlyph"
    Storyboard.TargetProperty="Opacity"
    Duration="0:0:0.500">
    <DiscreteDoubleKeyFrame Value="0.5" KeyTime="0:0:0" />
    <DiscreteDoubleKeyFrame Value="0" KeyTime="0:0:0.500" />
    </DoubleAnimationUsingKeyFrames>
    </Storyboard>
    </VisualState>
    <VisualState x:Name="HorizontalSelectionHint">
    <Storyboard>
    <SwipeHintThemeAnimation TargetName="SelectionBackground" ToHorizontalOffset="-23" ToVerticalOffset="0" />
    <SwipeHintThemeAnimation TargetName="ContentBorder" ToHorizontalOffset="-23" ToVerticalOffset="0" />
    <SwipeHintThemeAnimation TargetName="SelectedBorder" ToHorizontalOffset="-23" ToVerticalOffset="0" />
    <SwipeHintThemeAnimation TargetName="SelectedCheckMark" ToHorizontalOffset="-23" ToVerticalOffset="0" />
    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="HintGlyph"
    Storyboard.TargetProperty="Opacity"
    Duration="0:0:0.500">
    <DiscreteDoubleKeyFrame Value="0.5" KeyTime="0:0:0" />
    <DiscreteDoubleKeyFrame Value="0" KeyTime="0:0:0.500" />
    </DoubleAnimationUsingKeyFrames>
    </Storyboard>
    </VisualState>
    <VisualState x:Name="NoSelectionHint" />
    <VisualStateGroup.Transitions>
    <VisualTransition To="NoSelectionHint" GeneratedDuration="0:0:0.65"/>
    </VisualStateGroup.Transitions>
    </VisualStateGroup>
    <VisualStateGroup x:Name="SelectionStates">
    <VisualState x:Name="Unselecting">
    <Storyboard>
    <DoubleAnimation Storyboard.TargetName="HintGlyphBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="Unselected">
    <Storyboard>
    <DoubleAnimation Storyboard.TargetName="HintGlyphBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="UnselectedPointerOver">
    <Storyboard>
    <DoubleAnimation Storyboard.TargetName="HintGlyphBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter"
    Storyboard.TargetProperty="Foreground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" />
    </ObjectAnimationUsingKeyFrames>
    </Storyboard>
    </VisualState>
    <VisualState x:Name="UnselectedSwiping">
    <Storyboard>
    <DoubleAnimation Storyboard.TargetName="SelectingGlyph"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="0.5" />
    <DoubleAnimation Storyboard.TargetName="HintGlyphBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="Selecting">
    <Storyboard>
    <DoubleAnimation Storyboard.TargetName="SelectionBackground"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <DoubleAnimation Storyboard.TargetName="SelectedBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <DoubleAnimation Storyboard.TargetName="SelectingGlyph"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <DoubleAnimation Storyboard.TargetName="HintGlyphBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter"
    Storyboard.TargetProperty="Foreground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" />
    </ObjectAnimationUsingKeyFrames>
    </Storyboard>
    </VisualState>
    <VisualState x:Name="Selected">
    <Storyboard>
    <DoubleAnimation Storyboard.TargetName="SelectionBackground"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <DoubleAnimation Storyboard.TargetName="SelectedBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <DoubleAnimation Storyboard.TargetName="SelectedCheckMark"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter"
    Storyboard.TargetProperty="Foreground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" />
    </ObjectAnimationUsingKeyFrames>
    </Storyboard>
    </VisualState>
    <VisualState x:Name="SelectedSwiping">
    <Storyboard>
    <DoubleAnimation Storyboard.TargetName="SelectionBackground"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <DoubleAnimation Storyboard.TargetName="SelectedBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <DoubleAnimation Storyboard.TargetName="SelectedCheckMark"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter"
    Storyboard.TargetProperty="Foreground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" />
    </ObjectAnimationUsingKeyFrames>
    </Storyboard>
    </VisualState>
    <VisualState x:Name="SelectedUnfocused">
    <Storyboard>
    <DoubleAnimation Storyboard.TargetName="SelectionBackground"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <DoubleAnimation Storyboard.TargetName="SelectedBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <DoubleAnimation Storyboard.TargetName="SelectedCheckMark"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter"
    Storyboard.TargetProperty="Foreground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ListViewItemSelectedForegroundThemeBrush}" />
    </ObjectAnimationUsingKeyFrames>
    </Storyboard>
    </VisualState>
    </VisualStateGroup>
    <VisualStateGroup x:Name="DragStates">
    <VisualState x:Name="NotDragging" />
    <VisualState x:Name="Dragging">
    <Storyboard>
    <DoubleAnimation Storyboard.TargetName="InnerDragContent"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="{ThemeResource ListViewItemDragThemeOpacity}" />
    <DragItemThemeAnimation TargetName="InnerDragContent" />
    <FadeOutThemeAnimation TargetName="SelectedCheckMarkOuter" />
    <FadeOutThemeAnimation TargetName="SelectedBorder" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="DraggingTarget">
    <Storyboard>
    <DropTargetItemThemeAnimation TargetName="OuterContainer" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="MultipleDraggingPrimary">
    <Storyboard>
    <!-- These two Opacity animations are required - the FadeInThemeAnimations
    on the same elements animate an internal Opacity. -->
    <DoubleAnimation Storyboard.TargetName="MultiArrangeOverlayBackground"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <DoubleAnimation Storyboard.TargetName="MultiArrangeOverlayText"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="1" />
    <DoubleAnimation Storyboard.TargetName="ContentBorder"
    Storyboard.TargetProperty="Opacity"
    Duration="0"
    To="{ThemeResource ListViewItemDragThemeOpacity}" />
    <FadeInThemeAnimation TargetName="MultiArrangeOverlayBackground" />
    <FadeInThemeAnimation TargetName="MultiArrangeOverlayText" />
    <DragItemThemeAnimation TargetName="ContentBorder" />
    <FadeOutThemeAnimation TargetName="SelectionBackground" />
    <FadeOutThemeAnimation TargetName="SelectedCheckMarkOuter" />
    <FadeOutThemeAnimation TargetName="SelectedBorder" />
    <FadeOutThemeAnimation TargetName="PointerOverBorder" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="MultipleDraggingSecondary">
    <Storyboard>
    <FadeOutThemeAnimation TargetName="ContentContainer" />
    </Storyboard>
    </VisualState>
    <VisualStateGroup.Transitions>
    <VisualTransition To="NotDragging" GeneratedDuration="0:0:0.2"/>
    </VisualStateGroup.Transitions>
    </VisualStateGroup>
    <VisualStateGroup x:Name="ReorderHintStates">
    <VisualState x:Name="NoReorderHint"/>
    <VisualState x:Name="BottomReorderHint">
    <Storyboard>
    <DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Bottom" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="TopReorderHint">
    <Storyboard>
    <DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Top" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="RightReorderHint">
    <Storyboard>
    <DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Right" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="LeftReorderHint">
    <Storyboard>
    <DragOverThemeAnimation TargetName="ReorderHintContent" ToOffset="{ThemeResource ListViewItemReorderHintThemeOffset}" Direction="Left" />
    </Storyboard>
    </VisualState>
    <VisualStateGroup.Transitions>
    <VisualTransition To="NoReorderHint" GeneratedDuration="0:0:0.2"/>
    </VisualStateGroup.Transitions>
    </VisualStateGroup>
    <VisualStateGroup x:Name="DataVirtualizationStates">
    <VisualState x:Name="DataAvailable"/>
    <VisualState x:Name="DataPlaceholder">
    <Storyboard>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextBlock"
    Storyboard.TargetProperty="Visibility"
    Duration="0">
    <DiscreteObjectKeyFrame KeyTime="0">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Visible</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderRect"
    Storyboard.TargetProperty="Visibility"
    Duration="0">
    <DiscreteObjectKeyFrame KeyTime="0">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Visible</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    </ObjectAnimationUsingKeyFrames>
    </Storyboard>
    </VisualState>
    </VisualStateGroup>
    </VisualStateManager.VisualStateGroups>
    <Grid x:Name="ReorderHintContent" Background="Transparent">
    <Path x:Name="SelectingGlyph" Opacity="0" Data="F1 M133.1,17.9 L137.2,13.2 L144.6,19.6 L156.4,5.8 L161.2,9.9 L145.6,28.4 z" Fill="{ThemeResource ListViewItemCheckSelectingThemeBrush}" Height="13" Stretch="Fill" Width="15" HorizontalAlignment="Right" Margin="0,9.5,9.5,0" VerticalAlignment="Top" FlowDirection="LeftToRight"/>
    <Border x:Name="HintGlyphBorder"
    Height="40"
    Width="40"
    HorizontalAlignment="Right"
    VerticalAlignment="Top"
    Opacity="0"
    Margin="4">
    <Path x:Name="HintGlyph" Opacity="0" Data="F1 M133.1,17.9 L137.2,13.2 L144.6,19.6 L156.4,5.8 L161.2,9.9 L145.6,28.4 z" Fill="{ThemeResource ListViewItemCheckHintThemeBrush}" Height="13" Stretch="Fill" Width="15" HorizontalAlignment="Right" Margin="0,5.5,5.5,0" VerticalAlignment="Top" FlowDirection="LeftToRight"/>
    </Border>
    <Border x:Name="ContentContainer">
    <Grid x:Name="InnerDragContent">
    <Rectangle x:Name="PointerOverBorder"
    IsHitTestVisible="False"
    Opacity="0"
    Fill="{ThemeResource ListViewItemPointerOverBackgroundThemeBrush}"
    Margin="1" />
    <Rectangle x:Name="FocusVisual"
    IsHitTestVisible="False"
    Opacity="0"
    StrokeThickness="2"
    Stroke="{ThemeResource ListViewItemFocusBorderThemeBrush}" />
    <Rectangle x:Name="SelectionBackground"
    Margin="4"
    Fill="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}"
    Opacity="0" />
    <Border x:Name="ContentBorder"
    Background="{TemplateBinding Background}"
    BorderBrush="{TemplateBinding BorderBrush}"
    BorderThickness="{TemplateBinding BorderThickness}"
    Margin="4">
    <Grid>
    <ContentPresenter x:Name="contentPresenter"
    ContentTransitions="{TemplateBinding ContentTransitions}"
    ContentTemplate="{TemplateBinding ContentTemplate}"
    Content="{TemplateBinding Content}"
    HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
    VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
    Margin="{TemplateBinding Padding}" />
    <!-- The 'Xg' text simulates the amount of space one line of text will occupy.
    In the DataPlaceholder state, the Content is not loaded yet so we
    approximate the size of the item using placeholder text. -->
    <TextBlock x:Name="PlaceholderTextBlock"
    Opacity="0"
    Text="Xg"
    Foreground="{x:Null}"
    Margin="{TemplateBinding Padding}"
    IsHitTestVisible="False"
    AutomationProperties.AccessibilityView="Raw"/>
    <Rectangle x:Name="PlaceholderRect"
    Visibility="Collapsed"
    Fill="{ThemeResource ListViewItemPlaceholderBackgroundThemeBrush}"/>
    <Rectangle x:Name="MultiArrangeOverlayBackground"
    IsHitTestVisible="False"
    Opacity="0"
    Fill="{ThemeResource ListViewItemDragBackgroundThemeBrush}" />
    </Grid>
    </Border>
    <Rectangle x:Name="SelectedBorder"
    IsHitTestVisible="False"
    Opacity="0"
    Stroke="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}"
    StrokeThickness="{ThemeResource ListViewItemSelectedBorderThemeThickness}"
    Margin="4" />
    <Border x:Name="SelectedCheckMarkOuter"
    IsHitTestVisible="False"
    HorizontalAlignment="Right"
    VerticalAlignment="Top"
    Margin="4">
    <Grid x:Name="SelectedCheckMark" Opacity="0" Height="40" Width="40">
    <Path x:Name="SelectedEarmark" Data="M0,0 L40,0 L40,40 z" Fill="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}" Stretch="Fill"/>
    <Path Data="F1 M133.1,17.9 L137.2,13.2 L144.6,19.6 L156.4,5.8 L161.2,9.9 L145.6,28.4 z" Fill="{ThemeResource ListViewItemCheckThemeBrush}" Height="13" Stretch="Fill" Width="15" HorizontalAlignment="Right" Margin="0,5.5,5.5,0" VerticalAlignment="Top" FlowDirection="LeftToRight"/>
    </Grid>
    </Border>
    <TextBlock x:Name="MultiArrangeOverlayText"
    Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.DragItemsCount}"
    Foreground="{ThemeResource ListViewItemDragForegroundThemeBrush}"
    FontFamily="{ThemeResource ContentControlThemeFontFamily}"
    FontSize="26.667"
    IsHitTestVisible="False"
    Opacity="0"
    TextWrapping="Wrap"
    TextTrimming="WordEllipsis"
    Margin="18,9,0,0"
    AutomationProperties.AccessibilityView="Raw"/>
    </Grid>
    </Border>
    </Grid>
    </Border>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>
    shah

  • How to use PrepareStatementAsync statement in windows phone development ?

    Hi,
    I am new in windows phone 8.1 development.
    I want to use select query using PrepareStatementAsync.
    Which namespace or directory i have to use.
    Please help me.

    Hi Ravi,
    Based on search result, looks like this method belongs to a SQLite wrapper, you can add its package to your project using Nuget:
    https://www.nuget.org/packages/Sqlite-Winrt/
    For more information, I would suggest you referring to its official site.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How Can I Check if my Windows Phone is Refurbished...

    Hey,
    Im going to buy the lumia 920 and the price that the store gave to me sounds little too much *cheap*
    So i want to confirm that the phone is Factory-new and not Refurbished while im buying the phone.
    How can i do that?
    There's any kind of code? can the store block the code?
    Thats urgent to me !
    Thanks!

    For starters a new phone is in a sealed box. If the price is too low, ask why. You did not share where you are from and what the price is so we can't really judge either way.
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

Maybe you are looking for