StringFormat.GenericDefault Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a generic default StringFormat object.
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
Property Value
The generic default StringFormat object.
Remarks
The following table shows initial property values for a generic default instance of the StringFormat class.
Property | Initial Value |
---|---|
FormatFlags | 0 |
Alignment | Near |
LineAlignment | Near |
Trimming | Character |
HotkeyPrefix | None |
DigitSubstitutionMethod | User |
DigitSubstitutionLanguage | 0 |
If you make changes to the StringFormat object returned from the GenericDefault property, these changes persist, and future calls to the GenericDefault property reflects these changes.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin