久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <bdo id='Q5xtG'></bdo><ul id='Q5xtG'></ul>
    <i id='Q5xtG'><tr id='Q5xtG'><dt id='Q5xtG'><q id='Q5xtG'><span id='Q5xtG'><b id='Q5xtG'><form id='Q5xtG'><ins id='Q5xtG'></ins><ul id='Q5xtG'></ul><sub id='Q5xtG'></sub></form><legend id='Q5xtG'></legend><bdo id='Q5xtG'><pre id='Q5xtG'><center id='Q5xtG'></center></pre></bdo></b><th id='Q5xtG'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Q5xtG'><tfoot id='Q5xtG'></tfoot><dl id='Q5xtG'><fieldset id='Q5xtG'></fieldset></dl></div>
  • <small id='Q5xtG'></small><noframes id='Q5xtG'>

    <tfoot id='Q5xtG'></tfoot>
      <legend id='Q5xtG'><style id='Q5xtG'><dir id='Q5xtG'><q id='Q5xtG'></q></dir></style></legend>
      1. 修改 RichTextBox 中的默認選項卡大小

        Modifying default tab size in RichTextBox(修改 RichTextBox 中的默認選項卡大小)
        <tfoot id='R5JP6'></tfoot>
          <tbody id='R5JP6'></tbody>
          <bdo id='R5JP6'></bdo><ul id='R5JP6'></ul>

        • <small id='R5JP6'></small><noframes id='R5JP6'>

              <legend id='R5JP6'><style id='R5JP6'><dir id='R5JP6'><q id='R5JP6'></q></dir></style></legend>
                <i id='R5JP6'><tr id='R5JP6'><dt id='R5JP6'><q id='R5JP6'><span id='R5JP6'><b id='R5JP6'><form id='R5JP6'><ins id='R5JP6'></ins><ul id='R5JP6'></ul><sub id='R5JP6'></sub></form><legend id='R5JP6'></legend><bdo id='R5JP6'><pre id='R5JP6'><center id='R5JP6'></center></pre></bdo></b><th id='R5JP6'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='R5JP6'><tfoot id='R5JP6'></tfoot><dl id='R5JP6'><fieldset id='R5JP6'></fieldset></dl></div>

                1. 本文介紹了修改 RichTextBox 中的默認選項卡大小的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  有什么方法可以更改 .NET RichTextBox 中的默認選項卡大小?它目前似乎設置為相當于 8 個空格,這對我來說有點大.

                  Is there any way to change the default tab size in a .NET RichTextBox? It currently seems to be set to the equivalent of 8 spaces which is kinda large for my taste.

                  為了澄清,我想將 "的全局默認設置為控件的 4 個空格.據我了解, SelectionTabs 屬性要求您首先選擇所有文本,然后通過數組選擇選項卡寬度.如果必須,我會這樣做,但如果可能的話,我寧愿只更改一次全局默認值,這樣我就不必每次都這樣做.

                  To clarify, I want to set the global default of " " displays as 4 spaces for the control. From what I can understand, the SelectionTabs property requires you to select all the text first and then the the tab widths via the array. I will do this if I have to, but I would rather just change the global default once, if possible, sot that I don't have to do that every time.

                  推薦答案

                  您可以通過設置 SelectionTabs 屬性.

                  You can set it by setting the SelectionTabs property.

                  private void Form1_Load(object sender, EventArgs e)
                  {
                      richTextBox1.SelectionTabs = new int[] { 100, 200, 300, 400 };
                  }
                  

                  更新:
                  順序很重要....

                  UPDATE:
                  The sequence matters....

                  如果您在初始化控件文本之前設置了選項卡,那么您不必在設置選項卡之前選擇文本.

                  If you set the tabs prior to the control's text being initialized, then you don't have to select the text prior to setting the tabs.

                  例如,在上面的代碼中,這將保留帶有原始 8 個空格制表位的文本:

                  For example, in the above code, this will keep the text with the original 8 spaces tab stops:

                  richTextBox1.Text = "	1	2	3	4";
                  richTextBox1.SelectionTabs = new int[] { 100, 200, 300, 400 };
                  

                  但這將使用新的:

                  richTextBox1.SelectionTabs = new int[] { 100, 200, 300, 400 };
                  richTextBox1.Text = "	1	2	3	4";
                  

                  這篇關于修改 RichTextBox 中的默認選項卡大小的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Deleting a directory when clicked on a hyperlink with JAvascript.ASP.NET C#(單擊帶有 JAvascript.ASP.NET C# 的超鏈接時刪除目錄)
                  asp.net listview highlight row on click(asp.net listview 在單擊時突出顯示行)
                  Calling A Button OnClick from a function(從函數調用按鈕 OnClick)
                  ASP.net C# Gridview ButtonField onclick event(ASP.net C# Gridview ButtonField onclick 事件)
                  Adding OnClick event to ASP.NET control(將 OnClick 事件添加到 ASP.NET 控件)
                  Multiple submit Button click problem?(多個提交按鈕點擊問題?)

                  <small id='upmiN'></small><noframes id='upmiN'>

                    • <bdo id='upmiN'></bdo><ul id='upmiN'></ul>
                    • <legend id='upmiN'><style id='upmiN'><dir id='upmiN'><q id='upmiN'></q></dir></style></legend>

                        <i id='upmiN'><tr id='upmiN'><dt id='upmiN'><q id='upmiN'><span id='upmiN'><b id='upmiN'><form id='upmiN'><ins id='upmiN'></ins><ul id='upmiN'></ul><sub id='upmiN'></sub></form><legend id='upmiN'></legend><bdo id='upmiN'><pre id='upmiN'><center id='upmiN'></center></pre></bdo></b><th id='upmiN'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='upmiN'><tfoot id='upmiN'></tfoot><dl id='upmiN'><fieldset id='upmiN'></fieldset></dl></div>

                          1. <tfoot id='upmiN'></tfoot>

                              <tbody id='upmiN'></tbody>
                          2. 主站蜘蛛池模板: 国产91久久久久久久免费 | 男女啪啪高潮无遮挡免费动态 | 久久精品69| 精品久久久久久久久久久久 | 嫩草视频网站 | 一级欧美 | 精品无码三级在线观看视频 | 不卡一区二区三区四区 | 婷婷综合 | 国产极品车模吞精高潮呻吟 | 久久看片 | 欧美国产日韩在线观看 | 操视频网站| 精品国产一区二区三区性色 | 免费av在线 | 高清国产午夜精品久久久久久 | 三级免费网 | 爱高潮www亚洲精品 中文字幕免费视频 | 国产亚洲一区二区三区 | 免费国产视频在线观看 | 二区国产| 91亚洲国产成人精品一区二三 | 一区二区三区高清 | 国产激情在线观看 | 久久久久国产 | 国产精品成人一区二区 | 国产精品国产精品国产专区不蜜 | 欧美一级一区 | 欧美网址在线观看 | 国产一级一级国产 | 一区二区在线看 | 国产精品区一区二 | 秋霞在线一区 | 欧美一级在线视频 | 国产传媒视频在线观看 | 亚洲国产成人精品在线 | 美女久久久久久久久 | 国产午夜精品久久久久免费视高清 | 国产激情在线 | 天天色图| 亚洲欧美另类在线观看 |