Source/ISimpleTab.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System.ComponentModel;
using System.Drawing;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Represents interface for simple text only tab.
/// </summary>
public interface ISimpleTab
{
/// <summary>
/// Gets or sets the text displayed on the tab.
/// </summary>
[Browsable(true),DevCoBrowsable(true),Category("Appearance"),Description("Indicates the text displayed on the tab.")]
string Text{get;set;}
/// <summary>
/// Gets or sets whether tab is visible.
/// </summary>
[Browsable(true),DevCoBrowsable(true),DefaultValue(true),Category("Behavior"),Description("Indicates whether the tab is visible.")]
bool Visible{get;set;}
/// <summary>
/// Gets the display bounds of the tab.
/// </summary>
[Browsable(false)]
Rectangle DisplayRectangle{get;}
/// <summary>
/// Gets or sets the background color of the tab when inactive.
/// </summary>
[Browsable(true),Description("Indicates the inactive tab background color."),Category("Style")]
Color BackColor{get;set;}
/// <summary>
/// Gets or sets the target gradient background color of the tab when inactive.
/// </summary>
[Browsable(true),Description("Indicates the inactive tab target gradient background color."),Category("Style")]
Color BackColor2{get;set;}
/// <summary>
/// Gets or sets the gradient angle.
/// </summary>
[Browsable(true),Description("Indicates the gradient angle."),Category("Style"),DefaultValue(90)]
int BackColorGradientAngle{get;set;}
/// <summary>
/// Gets or sets the light border color when tab is inactive.
/// </summary>
[Browsable(true),Description("Indicates the inactive tab light border color."),Category("Style")]
Color LightBorderColor{get;set;}
/// <summary>
/// Gets or sets the dark border color when tab is inactive.
/// </summary>
[Browsable(true),Description("Indicates the inactive tab dark border color."),Category("Style")]
Color DarkBorderColor{get;set;}
/// <summary>
/// Gets or sets the border color when tab is inactive.
后面还有 44 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。