ZForge.Controls.TreeViewAdv.Tree.NodeControls.BaseTextControl.BaseTextControl C# (CSharp) Method

BaseTextControl() protected method

protected BaseTextControl ( ) : System
return System
        protected BaseTextControl()
        {
            IncrementalSearchEnabled = true;
            _focusPen = new Pen(Color.Black);
            _focusPen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot;

            _format = new StringFormat(StringFormatFlags.NoClip | StringFormatFlags.FitBlackBox | StringFormatFlags.MeasureTrailingSpaces);
            _baseFormatFlags = TextFormatFlags.PreserveGraphicsClipping | TextFormatFlags.NoPrefix |
                                                     TextFormatFlags.PreserveGraphicsTranslateTransform;
            SetFormatFlags();
            LeftMargin = 3;
        }