diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-03-05 20:33:02 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-03-05 20:33:02 +0200 |
| commit | 7e6c673cc8b04086fa3c78cd1bf5e31085fd8cc8 (patch) | |
| tree | c88947de8bdbea8c69e636ebcd8b8752cb61e870 /Software/Visual_Studio/Tango.BrushPicker/Implementation | |
| parent | 628819a1787290f84c22ecc7cb747f649fd54468 (diff) | |
| download | Tango-7e6c673cc8b04086fa3c78cd1bf5e31085fd8cc8.tar.gz Tango-7e6c673cc8b04086fa3c78cd1bf5e31085fd8cc8.zip | |
Working on color lab module !
Diffstat (limited to 'Software/Visual_Studio/Tango.BrushPicker/Implementation')
| -rw-r--r-- | Software/Visual_Studio/Tango.BrushPicker/Implementation/BrushPicker.cs | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.BrushPicker/Implementation/BrushPicker.cs b/Software/Visual_Studio/Tango.BrushPicker/Implementation/BrushPicker.cs index b94db6298..5c834dcdf 100644 --- a/Software/Visual_Studio/Tango.BrushPicker/Implementation/BrushPicker.cs +++ b/Software/Visual_Studio/Tango.BrushPicker/Implementation/BrushPicker.cs @@ -63,7 +63,7 @@ namespace Tango.BrushPicker this.CommandBindings.Add(new CommandBinding(BrushPicker.RemoveGradientStop, RemoveGradientStop_Executed)); this.CommandBindings.Add(new CommandBinding(BrushPicker.ReverseGradientStop, ReverseGradientStop_Executed)); - BrushType = BrushTypes.Linear; + BrushType = BrushTypes.Solid; } void CurrentColorTextBox_PreviewKeyDown(object sender, KeyEventArgs e) @@ -395,11 +395,24 @@ namespace Tango.BrushPicker c.SetBrush(); } } - + #endregion #region Public Properties + + + public Visibility BrushTypeVisibility + { + get { return (Visibility)GetValue(BrushTypeVisibilityProperty); } + set { SetValue(BrushTypeVisibilityProperty, value); } + } + public static readonly DependencyProperty BrushTypeVisibilityProperty = + DependencyProperty.Register("BrushTypeVisibility", typeof(Visibility), typeof(BrushPicker), new PropertyMetadata(Visibility.Visible)); + + + + public IEnumerable<Enum> SpreadMethodTypes { get |
