FolderNameEditor not working with PropertyGrid -
when using foldernameeditor in settings class, cannot display ellipsis can change folder. code property below.
is there attribute need? change setting on existing attribute? there alternative foldernameeditor, other writing own editor?
[category("schedule")] [displayname("file path")] [editor(typeof(foldernameeditor), typeof(uitypeeditor))] [expandableobject] [userscopedsetting()] [defaultsettingvalue(@"c:\temp")] public string schedulefilepath { { return _schedulefilepath; } set { _schedulefilepath = value; } }
my settings class inherits applicationsettingsbase. have many other properties (fonts , colors) in settings class , work fine.
specifying foldernameeditor seems have no effect, allowed edit property string. tried expandableobject property, displays length of string.
is there decent alternative propertygrid? seem spend inordinate amount of time getting work.
Comments
Post a Comment