Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

49 lines
1.6 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="IDesigner.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel.Design {
using System.Diagnostics;
using System;
using System.ComponentModel;
using Microsoft.Win32;
/// <devdoc>
/// <para> Provides the basic framework for building a custom designer.
/// This interface stores the verbs available to the designer, as well as basic
/// services for the designer.</para>
/// </devdoc>
[System.Runtime.InteropServices.ComVisible(true)]
public interface IDesigner : IDisposable {
/// <devdoc>
/// <para>Gets or sets the base component this designer is designing.</para>
/// </devdoc>
IComponent Component {get;}
/// <devdoc>
/// <para> Gets or sets the design-time verbs supported by the designer.</para>
/// </devdoc>
DesignerVerbCollection Verbs {get;}
/// <devdoc>
/// <para>
/// Performs the default action for this designer.
/// </para>
/// </devdoc>
void DoDefaultAction();
/// <devdoc>
/// <para>
/// Initializes the designer with the given component.
/// </para>
/// </devdoc>
void Initialize(IComponent component);
}
}