Download TextBoxTabStops.zip, last updated 25/05/2019 (56.09 KB)

Download
  • md5: c19ff63a08cba2440f23c149be49025d
  • sha1: e41fa65000e766cd66ed012744340b6fe53df4b4
  • sha256: d3b220e4c5e4753d7b761ee0eb978600bdc14f6a9bbee50117e66a1a052d642c
using System.Windows.Forms.Design;

// Setting tab stops in a Windows Forms TextBox control
// https://www.cyotek.com/blog/setting-tab-stops-in-a-windows-forms-textbox-control

// This work is licensed under the Creative Commons Attribution 4.0 International License.
// To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

// Found this example useful?
// https://www.paypal.me/cyotek

namespace Cyotek.Demo.TextBoxTabStops.Design
{
  internal sealed class RulerDesigner : ControlDesigner
  {
    #region Public Properties

    public override SelectionRules SelectionRules
    {
      get
      {
        return SelectionRules.Visible | SelectionRules.Moveable | SelectionRules.LeftSizeable | SelectionRules.RightSizeable;
      }
    }

    #endregion Public Properties
  }
}

Donate

Donate