|
<Window x:Class="ColoredWordPad.MenuItems.Dialogs.AddDecorationDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="AddDecorationDialog" Height="179" Width="457">
<Grid>
<TextBox Margin="12,15,0,45" Name="textBox1" HorizontalAlignment="Left" Width="249" />
<Button Height="23" Margin="165,0,0,12" Name="button1" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="43">Add</Button>
<Button Height="23" Margin="0,0,174,12" Name="button2" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="47">Cancel</Button>
<ComboBox Height="23" ItemsSource="{Binding Source={x:Static my:SystemNamedBrushes.Colors}}" Margin="0,15,12,0" Name="cmbBGColor" SelectedValue="{Binding Path=BackgroundColor}" VerticalAlignment="Top" xmlns:my="clr-namespace:ColoredWordPad" HorizontalAlignment="Right" Width="156">
<ComboBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Path=.}" Width="110" />
<Rectangle Fill="{Binding Path=.}" Height="12" Stroke="Black" StrokeThickness="1" Width="20" />
</StackPanel>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
<ComboBox Height="23" Margin="0,44,12,0" Name="comboBox1" VerticalAlignment="Top" HorizontalAlignment="Right" Width="156" />
<ComboBox Height="23" HorizontalAlignment="Right" Margin="0,0,12,45" Name="comboBox2" VerticalAlignment="Bottom" Width="156" />
</Grid>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Written software for what seems like forever. I'm currenly infatuated with WPF. Hopefully my affections are returned.