Color selector
This commit is contained in:
parent
f038c63718
commit
a3a721af32
6 changed files with 81 additions and 20 deletions
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:wpfCatalog="clr-namespace:WPFCatalog"
|
||||
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
|
||||
mc:Ignorable="d"
|
||||
|
||||
Title="Image Catalog" Height="466" Width="772"
|
||||
|
|
@ -19,15 +20,14 @@
|
|||
<Setter Property="Margin" Value="2,2,5,5" />
|
||||
</Style>
|
||||
<Style TargetType="ComboBox" BasedOn="{StaticResource CommonStyle}"></Style>
|
||||
<wpfCatalog:FontFamilyStringConverter x:Key="FontFamilyConverter"></wpfCatalog:FontFamilyStringConverter>
|
||||
<wpfCatalog:FontFamilyStringConverter x:Key="FontFamilyConverter" />
|
||||
<wpfCatalog:MaddoColorConverter x:Key="ColorConverter" />
|
||||
</Window.Resources>
|
||||
<DockPanel LastChildFill="True">
|
||||
<Menu DockPanel.Dock="Top" Height="auto">
|
||||
<MenuItem Header="Files"/>
|
||||
<MenuItem Header="Modifica"></MenuItem>
|
||||
<MenuItem Header="?"></MenuItem>
|
||||
|
||||
|
||||
</Menu>
|
||||
<StatusBar DockPanel.Dock="Bottom" Height="auto">
|
||||
<StatusBarItem>
|
||||
|
|
@ -236,8 +236,9 @@
|
|||
|
||||
<Label Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" Content="Colore RGB" />
|
||||
|
||||
<TextBox Grid.Row="3" Grid.Column="2" Text="{Binding CarattereColoreRGB}"/>
|
||||
<Button Grid.Row="3" Grid.Column="3" Content="Scegli..." />
|
||||
<xctk:ColorPicker Grid.Row="3" Grid.Column="2" SelectedColor="{Binding ColoreTestoRGB, Converter={StaticResource ColorConverter}}"/>
|
||||
|
||||
<!--<Button Grid.Row="3" Grid.Column="3" Content="Scegli..." />-->
|
||||
|
||||
|
||||
</Grid>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue