e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
53 lines
2.5 KiB
C#
53 lines
2.5 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="ViewTechnology.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
/*
|
|
*/
|
|
namespace System.ComponentModel.Design {
|
|
using System;
|
|
|
|
/// <devdoc>
|
|
/// <para>
|
|
/// Specifies a set of technologies designer hosts should support.
|
|
/// </para>
|
|
/// </devdoc>
|
|
[System.Runtime.InteropServices.ComVisible(true)]
|
|
public enum ViewTechnology {
|
|
|
|
/// <devdoc>
|
|
/// Specifies that the view for a root designer is defined by some
|
|
/// private interface contract between the designer and the
|
|
/// development environment. This implies a tight coupling
|
|
/// between the development environment and the designer, and should
|
|
/// be avoided. This does allow older COM2 technologies to
|
|
/// be shown in development environments that support
|
|
/// COM2 interface technologies such as doc objects and ActiveX
|
|
/// controls.
|
|
/// </devdoc>
|
|
[Obsolete("This value has been deprecated. Use ViewTechnology.Default instead. http://go.microsoft.com/fwlink/?linkid=14202")]
|
|
Passthrough = 0,
|
|
|
|
/// <devdoc>
|
|
/// Specifies that the view for a root designer is supplied through
|
|
/// a Windows Forms control object. The designer host will fill the
|
|
/// development environment's document window with this control.
|
|
/// </devdoc>
|
|
[Obsolete("This value has been deprecated. Use ViewTechnology.Default instead. http://go.microsoft.com/fwlink/?linkid=14202")]
|
|
WindowsForms = 1,
|
|
|
|
/// <devdoc>
|
|
/// Specifies the default view technology support. Here, the root designer may return
|
|
/// any type of object it wishes, but it must be an object that can be "fitted" with
|
|
/// an adapter to the technology of the host. Hosting environments such as Visual
|
|
/// Studio will provide a way to plug in new view technology adapters. The default
|
|
/// view object for the Windows Forms designer is a Control instance, while the
|
|
/// default view object for the Avalon designer is an Element instance.
|
|
/// </devdoc>
|
|
Default = 2
|
|
}
|
|
}
|
|
|