Merge branch 'master' of https://github.com/HandyOrg/HandyControl
This commit is contained in:
commit
6a3711e6e0
1 file changed
+1
-1
@@ -102,7 +102,7 @@ namespace HandyControl.Controls
|
|||||||
? (PropertyEditorBase) new EnumPropertyEditor()
|
? (PropertyEditorBase) new EnumPropertyEditor()
|
||||||
: new ReadOnlyTextPropertyEditor();
|
: new ReadOnlyTextPropertyEditor();
|
||||||
|
|
||||||
public virtual PropertyEditorBase CreateEditor(Type type) => new ReadOnlyTextPropertyEditor();
|
public virtual PropertyEditorBase CreateEditor(Type type) => Activator.CreateInstance(type) as PropertyEditorBase ?? new ReadOnlyTextPropertyEditor();
|
||||||
|
|
||||||
private enum EditorTypeCode
|
private enum EditorTypeCode
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user