StringFormat.GenericDefault Propriedade
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém um objeto padrão StringFormat genérico.
public:
static property System::Drawing::StringFormat ^ GenericDefault { System::Drawing::StringFormat ^ get(); };
public static System.Drawing.StringFormat GenericDefault { get; }
static member GenericDefault : System.Drawing.StringFormat
Public Shared ReadOnly Property GenericDefault As StringFormat
O objeto padrão StringFormat genérico.
A tabela a seguir mostra valores de propriedade iniciais para uma instância padrão genérica da StringFormat classe .
Propriedade | Valor inicial |
---|---|
FormatFlags | 0 |
Alignment | Near |
LineAlignment | Near |
Trimming | Character |
HotkeyPrefix | None |
DigitSubstitutionMethod | User |
DigitSubstitutionLanguage | 0 |
Se você fizer alterações no StringFormat objeto retornado da GenericDefault propriedade , essas alterações persistirão e chamadas futuras para a GenericDefault propriedade refletirão essas alterações.
Produto | Versões |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: