34 lines
1.2 KiB
C#
34 lines
1.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel.Design
|
|
{
|
|
/// <summary>Provides an interface for managing designer transactions and components.</summary>
|
|
// Token: 0x020001BE RID: 446
|
|
[Token(Token = "0x20001BE")]
|
|
[ComVisible(true)]
|
|
public interface IDesignerHost : IServiceProvider
|
|
{
|
|
/// <summary>Gets the instance of the base class used as the root component for the current design.</summary>
|
|
/// <returns>The instance of the root component class.</returns>
|
|
// Token: 0x17000231 RID: 561
|
|
// (get) Token: 0x06000C14 RID: 3092
|
|
[Token(Token = "0x17000231")]
|
|
IComponent RootComponent
|
|
{
|
|
[Token(Token = "0x6000C14")]
|
|
[Address(Slot = "0")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Gets the designer instance that contains the specified component.</summary>
|
|
/// <param name="component">The <see cref="T:System.ComponentModel.IComponent" /> to retrieve the designer for.</param>
|
|
/// <returns>An <see cref="T:System.ComponentModel.Design.IDesigner" />, or <see langword="null" /> if there is no designer for the specified component.</returns>
|
|
// Token: 0x06000C15 RID: 3093
|
|
[Token(Token = "0x6000C15")]
|
|
[Address(Slot = "1")]
|
|
IDesigner GetDesigner(IComponent component);
|
|
}
|
|
}
|