You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
670 B
C#
26 lines
670 B
C#
using System;
|
|
|
|
namespace GeoSigma.SigmaDrawerStyle
|
|
{
|
|
/// <summary>
|
|
/// 列表框属性
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
public class ListBoxEditorAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// 标记 ListBox 子类的关键字
|
|
/// </summary>
|
|
public string ControlKey { get; }
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ListBoxEditorAttribute"/> class.
|
|
/// </summary>
|
|
/// <param name="controlKey">controlKey</param>
|
|
public ListBoxEditorAttribute(string controlKey)
|
|
{
|
|
ControlKey = controlKey;
|
|
}
|
|
}
|
|
}
|