Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

100 lines
4.4 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>
/// <see cref="T:System.ComponentModel.DesignTimeVisibleAttribute" /> marks a component's visibility. If <see cref="F:System.ComponentModel.DesignTimeVisibleAttribute.Yes" /> is present, a visual designer can show this component on a designer.</summary>
// Token: 0x02000117 RID: 279
[Token(Token = "0x2000117")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
public sealed class DesignTimeVisibleAttribute : Attribute
{
/// <summary>Creates a new <see cref="T:System.ComponentModel.DesignTimeVisibleAttribute" /> with the <see cref="P:System.ComponentModel.DesignTimeVisibleAttribute.Visible" /> property set to the given value in <paramref name="visible" />.</summary>
/// <param name="visible">The value that the <see cref="P:System.ComponentModel.DesignTimeVisibleAttribute.Visible" /> property will be set against.</param>
// Token: 0x060006DD RID: 1757 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006DD")]
[Address(RVA = "0x49E320", Offset = "0x49D120", VA = "0x18049E320")]
public DesignTimeVisibleAttribute(bool visible)
{
}
/// <summary>Creates a new <see cref="T:System.ComponentModel.DesignTimeVisibleAttribute" /> set to the default value of <see langword="false" />.</summary>
// Token: 0x060006DE RID: 1758 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006DE")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public DesignTimeVisibleAttribute()
{
}
/// <summary>Gets or sets whether the component should be shown at design time.</summary>
/// <returns>
/// <see langword="true" /> if this component should be shown at design time, or <see langword="false" /> if it shouldn't.</returns>
// Token: 0x17000135 RID: 309
// (get) Token: 0x060006DF RID: 1759 RVA: 0x00004B30 File Offset: 0x00002D30
[Token(Token = "0x17000135")]
public bool Visible
{
[Token(Token = "0x60006DF")]
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
get
{
return default(bool);
}
}
/// <summary>Returns a value that indicates whether this instance is equal to a specified object.</summary>
/// <param name="obj">An Object to compare with this instance or a null reference (<see langword="Nothing" /> in Visual Basic).</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> equals the type and value of this instance; otherwise, <see langword="false" />.</returns>
// Token: 0x060006E0 RID: 1760 RVA: 0x00004B48 File Offset: 0x00002D48
[Token(Token = "0x60006E0")]
[Address(RVA = "0x4E8300", Offset = "0x4E7100", VA = "0x1804E8300", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x060006E1 RID: 1761 RVA: 0x00004B60 File Offset: 0x00002D60
[Token(Token = "0x60006E1")]
[Address(RVA = "0x4E8380", Offset = "0x4E7180", VA = "0x1804E8380", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Gets a value indicating if this instance is equal to the <see cref="F:System.ComponentModel.DesignTimeVisibleAttribute.Default" /> value.</summary>
/// <returns>
/// <see langword="true" />, if this instance is equal to the <see cref="F:System.ComponentModel.DesignTimeVisibleAttribute.Default" /> value; otherwise, <see langword="false" />.</returns>
// Token: 0x060006E2 RID: 1762 RVA: 0x00004B78 File Offset: 0x00002D78
[Token(Token = "0x60006E2")]
[Address(RVA = "0x4E8410", Offset = "0x4E7210", VA = "0x1804E8410", Slot = "6")]
public override bool IsDefaultAttribute()
{
return default(bool);
}
// Token: 0x040004BC RID: 1212
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004BC")]
private bool visible;
/// <summary>Marks a component as visible in a visual designer.</summary>
// Token: 0x040004BD RID: 1213
[Token(Token = "0x40004BD")]
public static readonly DesignTimeVisibleAttribute Yes;
/// <summary>Marks a component as not visible in a visual designer.</summary>
// Token: 0x040004BE RID: 1214
[Token(Token = "0x40004BE")]
public static readonly DesignTimeVisibleAttribute No;
/// <summary>The default visibility which is <see langword="Yes" />.</summary>
// Token: 0x040004BF RID: 1215
[Token(Token = "0x40004BF")]
public static readonly DesignTimeVisibleAttribute Default;
}
}