|
- <Window x:Class="BeDesignerSCADA.View.PropertyBindingWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:BeDesignerSCADA.View"
- mc:Ignorable="d"
- Title="PropertyBindingWindow" Height="160" Width="400"
- Background="White"
- BorderBrush="#FFDEDEDE"
- BorderThickness="1"
- ResizeMode="NoResize"
- WindowStyle="None"
- WindowStartupLocation="CenterOwner">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition/>
- <RowDefinition Height="40"/>
- </Grid.RowDefinitions>
- <TextBlock FontSize="20" Margin="10,10,0,0">属性绑定器</TextBlock>
- <Grid Grid.Row="1">
- <StackPanel>
- <StackPanel Margin="10,0,0,10" Orientation="Horizontal">
- <TextBlock Foreground="Green" FontSize="16" Text="当前设置属性名称为:" TextWrapping="Wrap" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- <TextBlock x:Name="ProperpName" Foreground="Red" FontSize="14" Text="属性名称" TextWrapping="Wrap" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </StackPanel>
- <ComboBox x:Name="BindingName" Margin="10,0,10,0" Height="24" Grid.Column="1" IsEditable="True" ></ComboBox>
-
- </StackPanel>
- </Grid>
-
- <StackPanel Grid.Row="2" Margin="0,0,16,10" Orientation="Horizontal" HorizontalAlignment="Right">
- <Button Width="120" Height="30" Content="解除所有绑定" x:Name="ClearBtn" Click="ClearBtn_Click" Margin="0,0,10,0"/>
- <Button Width="80" Height="30" Content="取消" x:Name="CancelBtn" Click="CancelBtn_Click" IsCancel="True"/>
- <Button Width="80" Height="30" Content="确认" x:Name="ConfirmBtn" Margin="8 0 4 0" Click="ConfirmBtn_Click"/>
- </StackPanel>
- </Grid>
- </Window>
|