Resize and controls

This commit is contained in:
Maddo 2017-04-17 13:06:09 +02:00
commit 02d6cb5d12
6 changed files with 33 additions and 15 deletions

View file

@ -15,7 +15,7 @@
</UserControl.Resources>
<ScrollViewer>
<StackPanel Orientation="Vertical">
<Controls:ToggleSwitch Header="Inserimento testo" />
<Controls:ToggleSwitch Header="Inserimento testo" IsChecked="{Binding EnableText}" />
<GroupBox Header="Carattere">
<Grid >

View file

@ -687,11 +687,11 @@ namespace WPFCatalog
public string ColoreTestoRGB
{
get { return PicSettings.GetString("coloreTestoRGB", "#000000"); }
{
get { return PicSettings.ColoreTestoRGB; }
set
{
PicSettings.Set("coloreTestoRGB", value);
PicSettings.ColoreTestoRGB = value;
RaisePropertyChanged("ColoreTestoRGB");
}
}