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.
110 lines
4.1 KiB
110 lines
4.1 KiB
<Window x:Class="SharpDevelop.XamlDesigner.PropertyGrid.BindingDialog" |
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
xmlns:Controls="clr-namespace:SharpDevelop.XamlDesigner.Controls" |
|
|
|
Title="Binding" |
|
Background="{DynamicResource DialogBackgroundBrush}" |
|
SnapsToDevicePixels="True" |
|
WindowStartupLocation="CenterScreen" |
|
ResizeMode="CanResizeWithGrip" |
|
Height="650" |
|
Width="500"> |
|
|
|
<DockPanel Margin="12"> |
|
|
|
<DockPanel DockPanel.Dock="Bottom" |
|
LastChildFill="False"> |
|
<StackPanel DockPanel.Dock="Right" |
|
Orientation="Horizontal" |
|
Margin="0 12 0 0"> |
|
<Button x:Name="uxOkButton" |
|
Content="OK" |
|
IsDefault="True" |
|
Click="uxOkButton_Click" /> |
|
<Button Content="Cancel" |
|
IsCancel="True" |
|
Margin="7 0 0 0" /> |
|
</StackPanel> |
|
</DockPanel> |
|
|
|
<Controls:Form DockPanel.Dock="Top" |
|
HorizontalAlignment="Left" |
|
Width="250"> |
|
<Controls:FormItem> |
|
<Controls:FormItem.Header> |
|
<RadioButton Content="Data Context" /> |
|
</Controls:FormItem.Header> |
|
<DockPanel> |
|
<Button DockPanel.Dock="Right" |
|
Margin="7 0 0 0" |
|
Content="New..." /> |
|
<TextBlock VerticalAlignment="Center">(Type)</TextBlock> |
|
</DockPanel> |
|
</Controls:FormItem> |
|
<Controls:FormItem> |
|
<Controls:FormItem.Header> |
|
<RadioButton Content="Element Name" /> |
|
</Controls:FormItem.Header> |
|
<ComboBox /> |
|
</Controls:FormItem> |
|
<Controls:FormItem> |
|
<Controls:FormItem.Header> |
|
<RadioButton Content="Source" /> |
|
</Controls:FormItem.Header> |
|
<ComboBox /> |
|
</Controls:FormItem> |
|
</Controls:Form> |
|
|
|
<TextBox DockPanel.Dock="Bottom" |
|
Margin="0 7 0 0"/> |
|
|
|
<DockPanel> |
|
<Controls:Form DockPanel.Dock="Right" |
|
Margin="7 0 0 0" |
|
Width="150" |
|
ItemContainerStyle="{DynamicResource {x:Static Controls:FormItem.VerticalStyleKey}}"> |
|
|
|
<Controls:FormItem Header="Mode"> |
|
<StackPanel> |
|
<RadioButton Content="Default" /> |
|
<RadioButton Content="TwoWay" /> |
|
<RadioButton Content="OneWay" /> |
|
<RadioButton Content="OneTime" /> |
|
<RadioButton Content="OneWayToSource" /> |
|
</StackPanel> |
|
</Controls:FormItem> |
|
|
|
<Controls:FormItem Header="Converter"> |
|
<ComboBox /> |
|
</Controls:FormItem> |
|
|
|
<Controls:FormItem Header="Converter Parameter"> |
|
<TextBox /> |
|
</Controls:FormItem> |
|
|
|
<Controls:FormItem Header="Relative Source"> |
|
<ComboBox /> |
|
</Controls:FormItem> |
|
|
|
<Controls:FormItem Header="Update Trigger"> |
|
<ComboBox /> |
|
</Controls:FormItem> |
|
|
|
<Controls:FormItem Header="Fallback Value"> |
|
<TextBox /> |
|
</Controls:FormItem> |
|
|
|
<Controls:FormItem Header="Debug"> |
|
<CheckBox /> |
|
</Controls:FormItem> |
|
|
|
</Controls:Form> |
|
|
|
<Controls:TreeBox /> |
|
|
|
</DockPanel> |
|
|
|
</DockPanel> |
|
|
|
</Window>
|
|
|