FontScaling Class
Class used to attach a pre-scaled font size to an element. This is necessary if you want to apply a conversion (such as scaling) to the font size when the font size is coming from a dynamic resource, since {DynamicResource} does not allow for a converter to be applied to the value.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣告
Public NotInheritable Class FontScaling
'用途
You do not need to declare an instance of a static class in order to access its members.
public static class FontScaling
public ref class FontScaling abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type FontScaling = class end
public final class FontScaling
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.PlatformUI.FontScaling
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.