'Declaration Protected Overridable ReadOnly Property DefaultFont As Font
'Usage Dim instance As GridElement Dim value As Font value = instance.DefaultFont
protected virtual Font DefaultFont {get;}
'Declaration Protected Overridable ReadOnly Property DefaultFont As Font
'Usage Dim instance As GridElement Dim value As Font value = instance.DefaultFont
protected virtual Font DefaultFont {get;}
When overriding DefaultFont in a derived class, a static Font object should be used and IsFontAmbient should also be overridden to return false.
The value returned by your implementation of DefaultFont should not be dynamic.
Target Platforms: 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