/Main/src/DevSamples/InertiaSample/Window1.xaml
XAML | 19 lines | 17 code | 2 blank | 0 comment | 0 complexity | af814b1f344db444b9cdddfe15e4cf19 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
- <Window x:Class="InertiaSample.Window1"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
- Title="DynamicDataDisplay Sample App">
- <Grid>
- <d3:ChartPlotter Name="plotter">
- <d3:ViewportHostPanel>
- <Button Width="100" Height="20" Content="Button" d3:ViewportPanel.X="0.5" d3:ViewportPanel.Y="0.3"/>
- <Button Width="100" Height="20" Content="Button #2" d3:ViewportPanel.X="0.4" d3:ViewportPanel.Y="0.7"/>
- </d3:ViewportHostPanel>
-
- <d3:DraggablePoint Name="p1" Position="0.7,0.3"/>
- <d3:Arrow StartPoint="0.2,0.2" EndPoint="{Binding ElementName=p1, Path=Position}"/>
-
- <d3:CursorCoordinateGraph/>
- </d3:ChartPlotter>
- </Grid>
- </Window>