CloudBuilder/CloudBuilder.Gui/Enum.cs
owenchen 1c0c83af5f ow
2026-05-12 10:09:31 +08:00

40 lines
773 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CloudBuilder.Gui
{
#region EnumControlState
/// <summary>
/// 控件的绑定流向DataPack写 DataBind读
/// </summary>
public enum EnumBindDirection
{
Both,//可读可写
None,//不读不写
ReadOnly,//只读
WriteOnly,//只写
}
/// <summary>
/// 修改控件的的颜色和状态
/// </summary>
public enum EnumEditModeColor
{
None,//非必填
ReadOnly,//只读
Required,//必填
}
#endregion
}
namespace System
{
public enum GuiDisplayMode
{
View = 0,
Create = 1,
Amend = 2
}
}