ZForge.Controls.TreeViewAdv.Tree.NodeControls.BaseTextControl.SetEditControlProperties C# (CSharp) Метод

SetEditControlProperties() защищенный Метод

protected SetEditControlProperties ( Control control, TreeNodeAdv node ) : void
control System.Windows.Forms.Control
node TreeNodeAdv
Результат void
        protected void SetEditControlProperties(Control control, TreeNodeAdv node)
        {
            string label = GetLabel(node);
            DrawContext context = new DrawContext();
            context.Font = control.Font;
            control.Font = GetDrawingFont(node, context, label);
        }