microsoft-surface

Evenly distibuted scatterViewItems that dont overlap

Hi I have an app that creates a variable number of ScatterviewItems based on which tagged object is placed on the surface table. The ScatterViewItems are added programatically to the ScatterView based on info looked up in a DB The Scatterview does a good job of displaying this info However, I would like them to be evenly distribut...

Access SurfaceWindow from TagVisualization

Hi, I'm looking for an easy way to access my main SurfaceWindow from a TagVisualization that I have. The scenario is that I want to pass along data from my TagVisualization back to the SurfaceWindow. Is there an easy way to do this? Thanks ...

Using SketchFlow to prototype MS Surface Applications

Hi We're doing mockups/prototyping on a MS Surface device and I wonder if anyone has succeeded in using SketchFlow for this. The problem that I see is that the code generated by the tool uses normal WPF controls (Button, etc.) instead of the contact aware surface counterparts (SurfaceButton) which means that they won't work nice on the ...

Can a ScatterViewItem dynamically resize to fit its content?

We're hosting a control inside of a ScatterViewItem that dynamically changes its size at runtime as a result of having various sub-elements added, removed, and/or collapsed. We would like to have the hosting ScatterViewItem resize as well to properly fit its child controls, but we're having a hard time making this happen. We've tried a...

Expression Blend and Scatterview

Hi I would like to animate a ScatterView Control using Expression Blend However, it seems that Blend doesn't recognise this control and nothing is visible on the design surface despite it being in the xaml Is there an addon or something that you need to get Blend to recognise controls that are specific to MS Surface? Have been googli...

Microsoft Surface - Flip & Scatter View Items

Hi Guys, I'm currently trying to get flip to work with scatterview items, and I'm having some trouble conceptually with it, using a plugin called Thriple (http://thriple.codeplex.com/). Essentially, a 2 sided thriple control looks like this: <thriple:ContentControl3D xmlns:thriple="http://thriple.codeplex.com/" Background="LightBl...

How do I add VisualStateManager to my Surface project?

I have a surface project and I would like to use controls designed in Blend. I added these controls to my microsoft surface project, but I receive an error when I try to compile it. Error 1 The tag 'VisualStateManager.VisualStateGroups' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. Line 12...

MS Surface Tag Visualizer steals contact events

I'm struggling with the TagVisualizer control on an MS Surface project. In theory the control seems great, allowing you to respond to input from real world physical objects The problem is that the control will cover the entire screen (since I want to capture tags on the entire screen) and as such, no other controls in my app will receiv...

How to remove the shadow from a librarystack

I'm currently in a project where I need a LibraryStack with no visuals at all, so it would just show the content. If I just remove the background a shadow stays in view which I cant seem to remove... This code looks like: <s:LibraryStack Background="Transparent"> <s:LibraryStackItem Background="AliceBlue"/> <s:LibraryStackIte...

How do I change the application orientation of a Surface application

I need to rotate the UI 180 degrees of my surface application in runtime when a user presses a button. How do I do this? ...

Adding a textblock to a custom wpf control (piepiece control from codeplex)

Hi Stackoverflow! I'm currently building a Surface application where the main navigation is a circular menu. For each menu item I'm using a custom control that I found on codeproject.com: http://www.codeproject.com/KB/WPF/PieChartDataBinding.aspx (PiePiece control) The number of submenu items (which is also piepiece controls) comes fr...

WPF: Calling a method from a different "branch" of the tree

Hey, I'm doing a WPF Application. The tree looks like this: SurfaceWindow --- Startscreen ..........................-------- Page---------- Subpage I'm trying to call a method from the "Subpage" from the "Code Behind" of the Startscreen(Startscreen.xaml.cs). The method from the Subpage looks like this: public void showTheme(Theme...

Microsoft Surface: "Read" the tag value of an IdentityTag

Hi, is it possible to read the value of an IdentityTag if you place it on the TagVisualizer, without having initalized it before? I would like to use the tags for registering a new object on the Surface but having all the "free" IdentityTags in a Collection for initalizing them all... There must be a better way to do in I think. But t...

WPF: Reset the positions of scatterviewitems?

Hi, I have a scatterview with some items in it which I place with Orientation und Center. Now I want to have the possibility to reset the positions of the scatterviewitems after scaling, rotating and moving them, while the program is running. At the moment I do it this way: private void Reset_ContactTapGesture(object sender, Microsof...

How can I use a config-file in Expression Blend 4?

Hi, while trying to use the "InfoStrat"-Bing-Maps-Control in Expression Blend 4 for my Surface Application, I get the error message: "Mixed mode assembly is built against version v2.0.50527 of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information" I already found out that I need to write this c...

how to drag-and-drop from ScatterView to LibraryBar

It is easy to drag-and-drop from LibraryBar to ScatterView. How can I drag-and-drop from ScatterView to LibraryBar? ...

WPF: Refreshing the UserControls after changes

Hi, I'm doing a Microsoft Surface Application and I have this problem: I use the MVVM-pattern. When a user places his ID-Card (with a tag on it) on the surface, this user is set as "current user". When pressing a button the user can edit his adress and other stuff. He is shown a "save"-button and an "exit"-button then. On these buttons...

vitual keyboard not working on microsoft surface but in the simulator

Hi, I did an application for the Microsoft Surface and the virtual Keyboard that appears when I focus the SurfaceTextBox did not appear when I tested it on a real Microsoft Surface yesterday. On the simulator it works fine and without any problems. What could the problem be? ...

wrong font in a RichTextBox importing from .rtf

Hi all, I'm developing a microsoft surface application using expression blend+vs 2008. I have a RichTextBox that loads formatted text from an .rtf file. The text is formatted with uppecases, color, and specific font (helvetica-neue). When i load the text, it is displayed in the control with matching format (color and uppecase) but NOT...

Microsoft Surface: Adding IdentityTag to TagVisualizer shows a cross-hair. Why?

Hi, in my Surface application happens this: When I put an IdentityTag onto my TagVisualizer, a white cross-hair appears. This TagVisualizer adds no TagVisualization when adding a Tag, it just calls some methods in its "VisualizationAdded"-Event. In my other TagVisualizers before there were no cross-hair but they always had Visualization...