//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ /* */ namespace System.ComponentModel { using System; using System.Diagnostics; using System.Security.Permissions; /// /// Provides the base class for a custom component /// editor. /// [HostProtection(SharedState = true)] public abstract class ComponentEditor { /// /// Gets a value indicating whether the component was modified. /// public bool EditComponent(object component) { return EditComponent(null, component); } /// /// Gets a value indicating whether the component was modified. /// public abstract bool EditComponent(ITypeDescriptorContext context, object component); } }