編輯

共用方式為


VisualStyleInformation.DisplayName Property

Definition

Gets the display name of the current visual style.

public:
 static property System::String ^ DisplayName { System::String ^ get(); };
public static string DisplayName { get; }
static member DisplayName : string
Public Shared ReadOnly Property DisplayName As String

Property Value

A string that specifies the display name of the current visual style if visual styles are enabled; otherwise, an empty string ("").

Remarks

This property checks the value of the IsEnabledByUser property internally.

Applies to