This question is locked. New answers and comments are not allowed.
DcoumentElements (Span, Paragraphs, Sections) all seem to take a StyleDefinition, rather than a native Style object.
Is there any way to predefine styles (in a ResourceDictionary) and apply them programmatically to different DocumentElements at runtime?
Right now I am applying all the Style elements at runtime and the code is very ugly.
Any direction is much appreciated.
Thanks in Advance !
-Shawn
Is there any way to predefine styles (in a ResourceDictionary) and apply them programmatically to different DocumentElements at runtime?
Right now I am applying all the Style elements at runtime and the code is very ugly.
Any direction is much appreciated.
Thanks in Advance !
-Shawn