终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

40 lines
2.1 KiB

  1. <Window x:Class="BeDesignerSCADA.View.PropertyBindingWindow"
  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:BeDesignerSCADA.View"
  7. mc:Ignorable="d"
  8. Title="PropertyBindingWindow" Height="160" Width="400"
  9. Background="White"
  10. BorderBrush="#FFDEDEDE"
  11. BorderThickness="1"
  12. ResizeMode="NoResize"
  13. WindowStyle="None"
  14. WindowStartupLocation="CenterOwner">
  15. <Grid>
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="40"/>
  18. <RowDefinition/>
  19. <RowDefinition Height="40"/>
  20. </Grid.RowDefinitions>
  21. <TextBlock FontSize="20" Margin="10,10,0,0">属性绑定器</TextBlock>
  22. <Grid Grid.Row="1">
  23. <StackPanel>
  24. <StackPanel Margin="10,0,0,10" Orientation="Horizontal">
  25. <TextBlock Foreground="Green" FontSize="16" Text="当前设置属性名称为:" TextWrapping="Wrap" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  26. <TextBlock x:Name="ProperpName" Foreground="Red" FontSize="14" Text="属性名称" TextWrapping="Wrap" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  27. </StackPanel>
  28. <ComboBox x:Name="BindingName" Margin="10,0,10,0" Height="24" Grid.Column="1" IsEditable="True" ></ComboBox>
  29. </StackPanel>
  30. </Grid>
  31. <StackPanel Grid.Row="2" Margin="0,0,16,10" Orientation="Horizontal" HorizontalAlignment="Right">
  32. <Button Width="120" Height="30" Content="解除所有绑定" x:Name="ClearBtn" Click="ClearBtn_Click" Margin="0,0,10,0"/>
  33. <Button Width="80" Height="30" Content="取消" x:Name="CancelBtn" Click="CancelBtn_Click" IsCancel="True"/>
  34. <Button Width="80" Height="30" Content="确认" x:Name="ConfirmBtn" Margin="8 0 4 0" Click="ConfirmBtn_Click"/>
  35. </StackPanel>
  36. </Grid>
  37. </Window>