Exemple #1
0
        internal override OUUserInputEditorParams CreateEditorParams(Type objectValueType, object objectValue)
        {
            OUUserInputEditorParams result = base.CreateEditorParams(objectValueType, objectValue);

            result.selectMask = UserControlObjectMask.Group;
            result.listMask   = UserControlObjectMask.Organization | UserControlObjectMask.Group;

            return(result);
        }
        internal virtual OUUserInputEditorParams CreateEditorParams(Type objectValueType, object objectValue)
        {
            OUUserInputEditorParams result = new OUUserInputEditorParams();

            if (objectValue is IEnumerable)
            {
                result.multiSelect = true;
            }

            return(result);
        }