Version

GetGlyphSize(GlyphType,UIElement) Method

Attempts to determine the glyph size for an element by walking up the parent chain and looking for the editor element or the ControlElement and calling GetGlyphInfo.
Syntax
'Declaration
 
Public Overloads Shared Function GetGlyphSize( _
   ByVal glyphType As GlyphType, _
   ByVal element As UIElement _
) As Size
public static Size GetGlyphSize( 
   GlyphType glyphType,
   UIElement element
)

Parameters

glyphType
The type of glyph.
element
TheUIElement.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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