|
|
@@ -20,22 +20,18 @@ |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<TextBlock FontSize="20" Margin="10,10,0,0">属性绑定器</TextBlock> |
|
|
|
<Grid Grid.Row="1"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="*"/> |
|
|
|
<ColumnDefinition Width="3*"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<Grid> |
|
|
|
<TextBlock x:Name="ProperpName" FontSize="16" TextWrapping="Wrap" HorizontalAlignment="Center" VerticalAlignment="Center"> |
|
|
|
属性名称 |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Column="1"> |
|
|
|
<ComboBox x:Name="BindingName" Grid.Column="1" IsEditable="True" ></ComboBox> |
|
|
|
</Grid> |
|
|
|
<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" Orientation="Horizontal" HorizontalAlignment="Right"> |
|
|
|
<Button Width="80" Height="30" Content="清除绑定" x:Name="ClearBtn" Click="ClearBtn_Click" Margin="0,0,10,0"/> |
|
|
|
<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> |
|
|
|