Version

StyleResolved Property

Gets the style that has been assigned to the text element, or a default instance if none were specified.
Syntax
'Declaration
 
ReadOnly Property StyleResolved As Style
Style StyleResolved {get;}
Remarks
If the user has not assigned a new instance to the text element, the default instance returned is static. Therefore, it is not recommended to change properties of this default instance as it will affect all other text elements that use this shared instance.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also