mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-24 08:46:35 +08:00
1、优化LOG显示与引用
2、添加PMA工具,工具内容待完善 3、修复流程树显示 4、添加开源项目,优化UI空间 5、其他BUG更改
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace HZH_Controls.Controls
|
||||
{
|
||||
public class NavigationMenuItemBase
|
||||
{
|
||||
/// <summary>
|
||||
/// The icon
|
||||
/// </summary>
|
||||
private Image icon;
|
||||
/// <summary>
|
||||
/// Gets or sets the icon.
|
||||
/// </summary>
|
||||
/// <value>The icon.</value>
|
||||
[Description("图标,仅顶级节点有效")]
|
||||
public Image Icon
|
||||
{
|
||||
get { return icon; }
|
||||
set { icon = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The text
|
||||
/// </summary>
|
||||
private string text;
|
||||
/// <summary>
|
||||
/// Gets or sets the text.
|
||||
/// </summary>
|
||||
/// <value>The text.</value>
|
||||
|
||||
[Description("文本")]
|
||||
public string Text
|
||||
{
|
||||
get { return text; }
|
||||
set { text = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The show tip
|
||||
/// </summary>
|
||||
private bool showTip;
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [show tip].当TipText为空时只显示一个小圆点,否则显示TipText文字
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [show tip]; otherwise, <c>false</c>.</value>
|
||||
[Description("是否显示角标,仅顶级节点有效")]
|
||||
public bool ShowTip
|
||||
{
|
||||
get { return showTip; }
|
||||
set { showTip = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The tip text
|
||||
/// </summary>
|
||||
private string tipText;
|
||||
/// <summary>
|
||||
/// Gets or sets the tip text
|
||||
/// </summary>
|
||||
/// <value>The tip text.</value>
|
||||
[Description("角标文字,仅顶级节点有效")]
|
||||
public string TipText
|
||||
{
|
||||
get { return tipText; }
|
||||
set { tipText = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The anchor right
|
||||
/// </summary>
|
||||
private bool anchorRight;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [anchor right].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [anchor right]; otherwise, <c>false</c>.</value>
|
||||
[Description("是否靠右对齐")]
|
||||
public bool AnchorRight
|
||||
{
|
||||
get { return anchorRight; }
|
||||
set { anchorRight = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The item width
|
||||
/// </summary>
|
||||
private int itemWidth = 100;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the width of the item.
|
||||
/// </summary>
|
||||
/// <value>The width of the item.</value>
|
||||
[Description("宽度")]
|
||||
public int ItemWidth
|
||||
{
|
||||
get { return itemWidth; }
|
||||
set { itemWidth = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the data source.
|
||||
/// </summary>
|
||||
/// <value>The data source.</value>
|
||||
[Description("数据源")]
|
||||
public object DataSource { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user