User Tools

Site Tools


prog:csharp:250630-01:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

prog:csharp:250630-01:index [2025/06/30 13:21]
jethro created
prog:csharp:250630-01:index [2025/06/30 13:22] (current)
jethro [C#: RichTextBox中英文字型不統一 (2025-06-30)]
Line 4: Line 4:
   richTextBox1.LanguageOption = System.Windows.Forms.RichTextBoxLanguageOptions.UIFonts;</​sxh>​   richTextBox1.LanguageOption = System.Windows.Forms.RichTextBoxLanguageOptions.UIFonts;</​sxh>​
   * 屬性中加入第二句處理該Issue   * 屬性中加入第二句處理該Issue
 +===== Detail =====
 +  * 程式碼richTextBox1.LanguageOption = System.Windows.Forms.RichTextBoxLanguageOptions.UIFonts;​ 設定了名為的控制項LanguageOption的屬性。RichTextBoxrichTextBox1UIFonts 此設定可RichTextBox根據目前輸入語言或鍵盤佈局自動調整用於顯示文字的字體。 ​
 +  * LanguageOption:
 +    * 控制項的此屬性RichTextBox決定了控制項如何處理特定於語言的設置,例如字體選擇和鍵盤輸入。 ​
 +  * System.Windows.Forms.RichTextBoxLanguageOptions.UIFonts:
 +    * 這是一個特定的枚舉值,它告訴RichTextBox當使用者切換輸入語言或將遊標移到具有不同字體設定的不同位置時自動變更字體。 ​
 ====== ====== ====== ======
   * [[:​prog:​csharp:​index|Back]]   * [[:​prog:​csharp:​index|Back]]
prog/csharp/250630-01/index.txt · Last modified: 2025/06/30 13:22 by jethro