PageRenderTime 42ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. <Window x:Class="InertiaSample.Window1"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
  5. Title="DynamicDataDisplay Sample App">
  6. <Grid>
  7. <d3:ChartPlotter Name="plotter">
  8. <d3:ViewportHostPanel>
  9. <Button Width="100" Height="20" Content="Button" d3:ViewportPanel.X="0.5" d3:ViewportPanel.Y="0.3"/>
  10. <Button Width="100" Height="20" Content="Button #2" d3:ViewportPanel.X="0.4" d3:ViewportPanel.Y="0.7"/>
  11. </d3:ViewportHostPanel>
  12. <d3:DraggablePoint Name="p1" Position="0.7,0.3"/>
  13. <d3:Arrow StartPoint="0.2,0.2" EndPoint="{Binding ElementName=p1, Path=Position}"/>
  14. <d3:CursorCoordinateGraph/>
  15. </d3:ChartPlotter>
  16. </Grid>
  17. </Window>