共用方式為


CommandBarsClass.DisplayFonts Property

Determines whether a font name in the Font dropdown is displayed with the font of that name. Always returns false.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
Public Overridable Property DisplayFonts As Boolean
    Get
    Set
'用途
Dim instance As CommandBarsClass
Dim value As Boolean

value = instance.DisplayFonts

instance.DisplayFonts = value
public virtual bool DisplayFonts { get; set; }
public:
virtual property bool DisplayFonts {
    bool get ();
    void set (bool value);
}
abstract DisplayFonts : bool with get, set
override DisplayFonts : bool with get, set
function get DisplayFonts () : boolean
function set DisplayFonts (value : boolean)

Property Value

Type: System.Boolean
Always returns false.

Implements

_CommandBars.DisplayFonts

Remarks

Notes to Inheritors

Visual Studio does not support this feature, so this property should always return false. Attempting to set this property with any other value should cause an exception to be thrown.

.NET Framework Security

See Also

Reference

CommandBarsClass Class

CommandBarsClass Members

Microsoft.VisualStudio.CommandBars Namespace