Is there a possibility to register a glob开发者_Python百科al uncaught exception handler in a Microsoft Surface application?Surface apps are just WPF apps... see WPF global exception handler
I have the following defi开发者_开发问答nition of a LibraryStack: <s:LibraryStack Name=\"TaggingContainer\" Margin=\"20\" Grid.Row=\"1\" Grid.ColumnSpan=\"2\" AllowDrop=\"True\" Height=\"300\" Wid
I want to开发者_JS百科 display a PDF document in my Microsoft Surface application. I did some searching and found a lot of possibilities, but all of the seem to have a little drawback if used in Micro
I use this method to bind a Line to the center of two ScatterViewItems: private void BindLineToScatterViewItems(Shape line, ScatterViewItem origin, ScatterViewItem destination)
In a Microsoft Surface 1.0 SDK project based on WPF, I\'d like to transform contacts captured in a small part of the screen to match the whole screen (like a virtual touchpad).
I have the following code: private void Package_ContactDown(object sender, ContactEventArgs e) { ScatterViewItem svi = new ScatterViewItem();
My idea was to set the content of my ScatterViewItem depending on its size. So I wrote a piece of code that calls a storyboard so that the content is set dependeing on the size of the ScatterViewItem:
I have the following layout: <Gr开发者_如何学Goid Width=\"1024\" Height=\"768\" Background=\"{StaticResource WindowBackground}\" >
I use the following code to connect two ScatterViewItems. Unfortunately this does not work because the center property isn\'t asingle value. But I can\'t read out values x and y from the CenterPropert
Is it somehow possible to fade out the content that is not visible in the SurfaceScrollViewer? As mentioned in the answer I tried this, but c开发者_StackOverflow中文版ouldn\'t recognize any fading: