G
gdb390
Guest
In the code there are 2 pieces ... one with the class using Progress.Lang.*. using Telerik.WinControls.UI.BaseInputEditor. block-level on error undo, throw. class RadPropertyGrid.PropertyGridButtonEditor inherits BaseInputEditor: define override public property DataType as System.Type get. method override protected Telerik.WinControls.RadElement CreateEditorElement( ): undo, throw new Progress.Lang.AppError("METHOD NOT IMPLEMENTED"). end method. end class. and the other is the method in the form : @VisualDesigner. method private void radPropertyGrid1_EditorRequired( input sender as System.Object, input e as Telerik.WinControls.UI.PropertyGridEditorRequiredEventArgs ): e:EditorType = Progress.Util.TypeHelper:GetType("RadPropertyGrid.PropertyGridButtonEditor"). return. end method. The question remains : how must the type be returned in EditorRequire method ?
Continue reading...
Continue reading...