Advertisement
lucianb

ControlWindow.xaml

Jan 8th, 2023
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. <Window x:Class="Lab.ControlWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:Lab"
  7. mc:Ignorable="d"
  8. Title="ControlWindow" Height="450" Width="800">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="auto"></RowDefinition>
  12. <RowDefinition Height="*"></RowDefinition>
  13. </Grid.RowDefinitions>
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition></ColumnDefinition>
  16. </Grid.ColumnDefinitions>
  17. <Border BorderThickness="5,5,5,5" BorderBrush="LightGray" Grid.Row="0" Grid.Column="0">
  18. <Grid x:Name="controlPanel">
  19. <Grid.RowDefinitions>
  20. <RowDefinition></RowDefinition>
  21. </Grid.RowDefinitions>
  22. <Grid.ColumnDefinitions>
  23. <ColumnDefinition></ColumnDefinition>
  24. <ColumnDefinition></ColumnDefinition>
  25. <ColumnDefinition></ColumnDefinition>
  26. <ColumnDefinition></ColumnDefinition>
  27. <ColumnDefinition></ColumnDefinition>
  28. <ColumnDefinition></ColumnDefinition>
  29. <ColumnDefinition></ColumnDefinition>
  30. </Grid.ColumnDefinitions>
  31. <Button x:Name="updateButton" Grid.Column="6" Click="UpdateButtonClickHandler">Test</Button>
  32. </Grid>
  33. </Border>
  34. <Border x:Name="viewportBorder" Background="White" Grid.Row="1" Grid.Column="0">
  35. <Viewport3D x:Name="viewport" Grid.Row="0" Grid.Column="0" IsHitTestVisible="False"></Viewport3D>
  36. </Border>
  37. </Grid>
  38. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement