Files
Aug2021-Cpp2IL-Dump/System/ComponentModel/Design/IDesignerHost.cs
T
2026-04-10 22:50:51 +02:00

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: 0x020001C2 RID: 450
[Token(Token = "0x20001C2")]
[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: 0x17000235 RID: 565
// (get) Token: 0x06000C2A RID: 3114
[Token(Token = "0x17000235")]
IComponent RootComponent
{
[Token(Token = "0x6000C2A")]
[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: 0x06000C2B RID: 3115
[Token(Token = "0x6000C2B")]
[Address(Slot = "1")]
IDesigner GetDesigner(IComponent component);
}
}