Accord.Controls.NumericCollectionEditor.GetEditStyle C# (CSharp) Метод

GetEditStyle() публичный Метод

Gets the editor style used by the M:System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method.
public GetEditStyle ( ITypeDescriptorContext context ) : UITypeEditorEditStyle
context ITypeDescriptorContext An that can be used to gain additional context information.
Результат UITypeEditorEditStyle
        public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
        {
            if (context != null && context.Instance != null)
            {
                return UITypeEditorEditStyle.Modal;
            }
            return base.GetEditStyle(context);
        }