ZForge.Controls.TreeViewAdv.Tree.NodeControls.NodeComboBox.CalculateEditorSize C# (CSharp) 메소드

CalculateEditorSize() 보호된 메소드

protected CalculateEditorSize ( EditorContext context ) : Size
context EditorContext
리턴 System.Drawing.Size
        protected override Size CalculateEditorSize(EditorContext context)
        {
            if (Parent.UseColumns)
                return context.Bounds.Size;
            else
                return new Size(EditorWidth, context.Bounds.Height);
        }