diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-12-07 04:32:57 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-12-07 04:32:57 +0100 |
| commit | fd3cf7597b2c3084c41993fe2043a484466c4fa9 (patch) | |
| tree | 7e5ccf6829bf555eb4720a5c7593237caaa0ac5c /src/GraphicObjects/TextRun.cs | |
| parent | d8e417769988c76a7ebe9adc85c929e815583683 (diff) | |
debug for netcore standards 2
Diffstat (limited to 'src/GraphicObjects/TextRun.cs')
| -rw-r--r-- | src/GraphicObjects/TextRun.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/GraphicObjects/TextRun.cs b/src/GraphicObjects/TextRun.cs index 17e3b770..297ffe95 100644 --- a/src/GraphicObjects/TextRun.cs +++ b/src/GraphicObjects/TextRun.cs @@ -61,13 +61,13 @@ namespace Crow #endregion - [XmlAttributeAttribute ()] + [DefaultValue (Alignment.Left)] public Alignment TextAlignment { get { return _textAlignment; } set { _textAlignment = value; } } - [XmlAttributeAttribute ()] + [DefaultValue (false)] public virtual bool HorizontalStretch { get { return horizontalStretch; } @@ -79,7 +79,7 @@ namespace Crow NotifyValueChanged ("HorizontalStretch", horizontalStretch); } } - [XmlAttributeAttribute ()] + [DefaultValue (false)] public virtual bool VerticalStretch { get { return verticalStretch; } @@ -91,7 +91,7 @@ namespace Crow NotifyValueChanged ("VerticalStretch", verticalStretch); } } - [XmlAttributeAttribute ()] + [DefaultValue ("label")] public string Text { get { @@ -112,7 +112,7 @@ namespace Crow lines = getLines; } } - [XmlAttributeAttribute ()] + [DefaultValue (false)] public bool Multiline { get { return _multiline; } @@ -121,7 +121,7 @@ namespace Crow RegisterForGraphicUpdate (); } } - [XmlAttributeAttribute ()] + [DefaultValue (false)] public bool WordWrap { get { |