Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Make TextAlignment a settable property?

$
0
0

Currently the TextAlignment originates from the internal class ICSharpCode.AvalonEdit.Rendering.VisualLineTextParagraphProperties, where the property getter is hardcoded to return TextAlignment.Left.

Would it be possible to make TextAlignment a settable property? I'm not an expert on C# but it seems to me the simplest approach would be to make it a static property, since VisualLineTextParagraphProperties appears to be instantiated often.

Thank you!


Viewing all articles
Browse latest Browse all 1764

Trending Articles