diff options
| author | Roy <roy.mail.net@gmail.com> | 2018-03-05 09:12:59 +0200 |
|---|---|---|
| committer | Roy <roy.mail.net@gmail.com> | 2018-03-05 09:12:59 +0200 |
| commit | 8e2cbf02b6c819e92ee4eec2a673586438edfa93 (patch) | |
| tree | c12fd2c91c5abb4cae725ac39792c69b25118faa /Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryPath.cs | |
| parent | 2b8e41b5279c2d3ab370595f6593b64ea734ef87 (diff) | |
| download | Tango-8e2cbf02b6c819e92ee4eec2a673586438edfa93.tar.gz Tango-8e2cbf02b6c819e92ee4eec2a673586438edfa93.zip | |
Some work on embroidery import/export.
Diffstat (limited to 'Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryPath.cs')
| -rw-r--r-- | Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryPath.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryPath.cs b/Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryPath.cs index 385266228..5999845bf 100644 --- a/Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryPath.cs +++ b/Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryPath.cs @@ -37,7 +37,13 @@ namespace Tango.EmbroideryUI public static readonly DependencyProperty PathFigureProperty = DependencyProperty.Register("PathFigure", typeof(PathFigure), typeof(EmbroideryPath), new PropertyMetadata(null)); - + public int StitchCount + { + get { return (int)GetValue(StitchCountProperty); } + set { SetValue(StitchCountProperty, value); } + } + public static readonly DependencyProperty StitchCountProperty = + DependencyProperty.Register("StitchCount", typeof(int), typeof(EmbroideryPath), new PropertyMetadata(0)); private void OnBrushChanged() { |
