chore: use file-scoped namespace
This commit is contained in:
1 parent
99d2fafb72
commit
bbf1b7d4c6
748 files changed
+57929
-58678
No files matched your search
@@ -1,9 +1,8 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum BadgeStatus
|
||||
{
|
||||
public enum BadgeStatus
|
||||
{
|
||||
Text,
|
||||
Dot,
|
||||
Processing
|
||||
}
|
||||
}
|
||||
Text,
|
||||
Dot,
|
||||
Processing
|
||||
}
|
||||
@@ -1,10 +1,9 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum ChatMessageType
|
||||
{
|
||||
public enum ChatMessageType
|
||||
{
|
||||
String,
|
||||
Image,
|
||||
Audio,
|
||||
Custom
|
||||
}
|
||||
}
|
||||
String,
|
||||
Image,
|
||||
Audio,
|
||||
Custom
|
||||
}
|
||||
@@ -1,8 +1,7 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum ChatRoleType
|
||||
{
|
||||
public enum ChatRoleType
|
||||
{
|
||||
Sender,
|
||||
Receiver
|
||||
}
|
||||
}
|
||||
Sender,
|
||||
Receiver
|
||||
}
|
||||
@@ -1,13 +1,12 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum ColLayoutStatus
|
||||
{
|
||||
public enum ColLayoutStatus
|
||||
{
|
||||
Xs,
|
||||
Sm,
|
||||
Md,
|
||||
Lg,
|
||||
Xl,
|
||||
Xxl,
|
||||
Auto
|
||||
}
|
||||
}
|
||||
Xs,
|
||||
Sm,
|
||||
Md,
|
||||
Lg,
|
||||
Xl,
|
||||
Xxl,
|
||||
Auto
|
||||
}
|
||||
@@ -1,9 +1,8 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum DrawerShowMode
|
||||
{
|
||||
public enum DrawerShowMode
|
||||
{
|
||||
Cover,
|
||||
Push,
|
||||
Press
|
||||
}
|
||||
}
|
||||
Cover,
|
||||
Push,
|
||||
Press
|
||||
}
|
||||
@@ -3,76 +3,75 @@ using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Data;
|
||||
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public class EnumDataProvider : ObjectDataProvider
|
||||
{
|
||||
public class EnumDataProvider : ObjectDataProvider
|
||||
public EnumDataProvider()
|
||||
{
|
||||
public EnumDataProvider()
|
||||
MethodName = nameof(GetValues);
|
||||
}
|
||||
|
||||
private Type _type;
|
||||
public Type Type
|
||||
{
|
||||
get => _type;
|
||||
set
|
||||
{
|
||||
MethodName = nameof(GetValues);
|
||||
_type = value;
|
||||
MethodParameters.Add(value);
|
||||
ObjectType = typeof(System.Enum);
|
||||
}
|
||||
}
|
||||
|
||||
private bool _useAttributes;
|
||||
|
||||
public bool UseAttributes
|
||||
{
|
||||
get => _useAttributes;
|
||||
set
|
||||
{
|
||||
_useAttributes = value;
|
||||
ObjectType = value ? typeof(EnumDataProvider) : typeof(System.Enum);
|
||||
}
|
||||
}
|
||||
|
||||
public static IEnumerable<EnumItem> GetValues(Type enumType)
|
||||
{
|
||||
if (enumType == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(enumType));
|
||||
}
|
||||
|
||||
private Type _type;
|
||||
public Type Type
|
||||
{
|
||||
get => _type;
|
||||
set
|
||||
{
|
||||
_type = value;
|
||||
MethodParameters.Add(value);
|
||||
ObjectType = typeof(System.Enum);
|
||||
}
|
||||
}
|
||||
var resultList = new List<EnumItem>();
|
||||
|
||||
private bool _useAttributes;
|
||||
|
||||
public bool UseAttributes
|
||||
var values = System.Enum.GetValues(enumType);
|
||||
foreach (System.Enum value in values)
|
||||
{
|
||||
get => _useAttributes;
|
||||
set
|
||||
var fieldInfo = enumType.GetField(value.ToString());
|
||||
if (fieldInfo == null)
|
||||
{
|
||||
_useAttributes = value;
|
||||
ObjectType = value ? typeof(EnumDataProvider) : typeof(System.Enum);
|
||||
}
|
||||
}
|
||||
|
||||
public static IEnumerable<EnumItem> GetValues(Type enumType)
|
||||
{
|
||||
if (enumType == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(enumType));
|
||||
continue;
|
||||
}
|
||||
|
||||
var resultList = new List<EnumItem>();
|
||||
|
||||
var values = System.Enum.GetValues(enumType);
|
||||
foreach (System.Enum value in values)
|
||||
if (fieldInfo.GetCustomAttributes(typeof(BrowsableAttribute), true) is BrowsableAttribute[] { Length: > 0 } browsableAttributes)
|
||||
{
|
||||
var fieldInfo = enumType.GetField(value.ToString());
|
||||
if (fieldInfo == null)
|
||||
if (!browsableAttributes[0].Browsable)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (fieldInfo.GetCustomAttributes(typeof(BrowsableAttribute), true) is BrowsableAttribute[] { Length: > 0 } browsableAttributes)
|
||||
{
|
||||
if (!browsableAttributes[0].Browsable)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (fieldInfo.GetCustomAttributes(typeof(DescriptionAttribute), true) is DescriptionAttribute[] { Length: > 0 } descriptionAttributes)
|
||||
{
|
||||
resultList.Add(new EnumItem
|
||||
{
|
||||
Description = descriptionAttributes[0].Description,
|
||||
Value = value
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return resultList;
|
||||
if (fieldInfo.GetCustomAttributes(typeof(DescriptionAttribute), true) is DescriptionAttribute[] { Length: > 0 } descriptionAttributes)
|
||||
{
|
||||
resultList.Add(new EnumItem
|
||||
{
|
||||
Description = descriptionAttributes[0].Description,
|
||||
Value = value
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return resultList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,25 +1,24 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum ExpandMode
|
||||
{
|
||||
public enum ExpandMode
|
||||
{
|
||||
/// <summary>
|
||||
/// 最多只能显示一项,且不可折叠
|
||||
/// </summary>
|
||||
ShowOne,
|
||||
/// <summary>
|
||||
/// 最多只能显示一项,且不可折叠
|
||||
/// </summary>
|
||||
ShowOne,
|
||||
|
||||
/// <summary>
|
||||
/// 显示所有项,且不可折叠
|
||||
/// </summary>
|
||||
ShowAll,
|
||||
/// <summary>
|
||||
/// 显示所有项,且不可折叠
|
||||
/// </summary>
|
||||
ShowAll,
|
||||
|
||||
/// <summary>
|
||||
/// 类似ShowOne,但是控件的尺寸不随项的数量而改变
|
||||
/// </summary>
|
||||
Accordion,
|
||||
/// <summary>
|
||||
/// 类似ShowOne,但是控件的尺寸不随项的数量而改变
|
||||
/// </summary>
|
||||
Accordion,
|
||||
|
||||
/// <summary>
|
||||
/// 没有任何限制
|
||||
/// </summary>
|
||||
Freedom
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 没有任何限制
|
||||
/// </summary>
|
||||
Freedom
|
||||
}
|
||||
@@ -1,59 +1,58 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum HatchStyle
|
||||
{
|
||||
public enum HatchStyle
|
||||
{
|
||||
Horizontal,
|
||||
Vertical,
|
||||
ForwardDiagonal,
|
||||
BackwardDiagonal,
|
||||
Cross,
|
||||
DiagonalCross,
|
||||
Percent05,
|
||||
Percent10,
|
||||
Percent20,
|
||||
Percent25,
|
||||
Percent30,
|
||||
Percent40,
|
||||
Percent50,
|
||||
Percent60,
|
||||
Percent70,
|
||||
Percent75,
|
||||
Percent80,
|
||||
Percent90,
|
||||
LightDownwardDiagonal,
|
||||
LightUpwardDiagonal,
|
||||
DarkDownwardDiagonal,
|
||||
DarkUpwardDiagonal,
|
||||
WideDownwardDiagonal,
|
||||
WideUpwardDiagonal,
|
||||
LightVertical,
|
||||
LightHorizontal,
|
||||
NarrowVertical,
|
||||
NarrowHorizontal,
|
||||
DarkVertical,
|
||||
DarkHorizontal,
|
||||
DashedDownwardDiagonal,
|
||||
DashedUpwardDiagonal,
|
||||
DashedHorizontal,
|
||||
DashedVertical,
|
||||
SmallConfetti,
|
||||
LargeConfetti,
|
||||
ZigZag,
|
||||
Wave,
|
||||
DiagonalBrick,
|
||||
HorizontalBrick,
|
||||
Weave,
|
||||
Plaid,
|
||||
Divot,
|
||||
DottedGrid,
|
||||
DottedDiamond,
|
||||
Shingle,
|
||||
Trellis,
|
||||
Sphere,
|
||||
SmallGrid,
|
||||
SmallCheckerBoard,
|
||||
LargeCheckerBoard,
|
||||
OutlinedDiamond,
|
||||
SolidDiamond
|
||||
}
|
||||
}
|
||||
Horizontal,
|
||||
Vertical,
|
||||
ForwardDiagonal,
|
||||
BackwardDiagonal,
|
||||
Cross,
|
||||
DiagonalCross,
|
||||
Percent05,
|
||||
Percent10,
|
||||
Percent20,
|
||||
Percent25,
|
||||
Percent30,
|
||||
Percent40,
|
||||
Percent50,
|
||||
Percent60,
|
||||
Percent70,
|
||||
Percent75,
|
||||
Percent80,
|
||||
Percent90,
|
||||
LightDownwardDiagonal,
|
||||
LightUpwardDiagonal,
|
||||
DarkDownwardDiagonal,
|
||||
DarkUpwardDiagonal,
|
||||
WideDownwardDiagonal,
|
||||
WideUpwardDiagonal,
|
||||
LightVertical,
|
||||
LightHorizontal,
|
||||
NarrowVertical,
|
||||
NarrowHorizontal,
|
||||
DarkVertical,
|
||||
DarkHorizontal,
|
||||
DashedDownwardDiagonal,
|
||||
DashedUpwardDiagonal,
|
||||
DashedHorizontal,
|
||||
DashedVertical,
|
||||
SmallConfetti,
|
||||
LargeConfetti,
|
||||
ZigZag,
|
||||
Wave,
|
||||
DiagonalBrick,
|
||||
HorizontalBrick,
|
||||
Weave,
|
||||
Plaid,
|
||||
Divot,
|
||||
DottedGrid,
|
||||
DottedDiamond,
|
||||
Shingle,
|
||||
Trellis,
|
||||
Sphere,
|
||||
SmallGrid,
|
||||
SmallCheckerBoard,
|
||||
LargeCheckerBoard,
|
||||
OutlinedDiamond,
|
||||
SolidDiamond
|
||||
}
|
||||
@@ -1,10 +1,9 @@
|
||||
namespace HandyControl.Data.Enum
|
||||
namespace HandyControl.Data.Enum;
|
||||
|
||||
public enum HitMode
|
||||
{
|
||||
public enum HitMode
|
||||
{
|
||||
Click,
|
||||
Hover,
|
||||
Focus,
|
||||
None
|
||||
}
|
||||
}
|
||||
Click,
|
||||
Hover,
|
||||
Focus,
|
||||
None
|
||||
}
|
||||
@@ -1,18 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
[Flags]
|
||||
internal enum ImageCodecFlags
|
||||
{
|
||||
[Flags]
|
||||
internal enum ImageCodecFlags
|
||||
{
|
||||
Encoder = 0x00000001,
|
||||
Decoder = 0x00000002,
|
||||
SupportBitmap = 0x00000004,
|
||||
SupportVector = 0x00000008,
|
||||
SeekableEncode = 0x00000010,
|
||||
BlockingDecode = 0x00000020,
|
||||
Builtin = 0x00010000,
|
||||
System = 0x00020000,
|
||||
User = 0x00040000
|
||||
}
|
||||
}
|
||||
Encoder = 0x00000001,
|
||||
Decoder = 0x00000002,
|
||||
SupportBitmap = 0x00000004,
|
||||
SupportVector = 0x00000008,
|
||||
SeekableEncode = 0x00000010,
|
||||
BlockingDecode = 0x00000020,
|
||||
Builtin = 0x00010000,
|
||||
System = 0x00020000,
|
||||
User = 0x00040000
|
||||
}
|
||||
@@ -1,13 +1,12 @@
|
||||
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum InfoType
|
||||
{
|
||||
public enum InfoType
|
||||
{
|
||||
Success = 0,
|
||||
Info,
|
||||
Warning,
|
||||
Error,
|
||||
Fatal,
|
||||
Ask
|
||||
}
|
||||
}
|
||||
Success = 0,
|
||||
Info,
|
||||
Warning,
|
||||
Error,
|
||||
Fatal,
|
||||
Ask
|
||||
}
|
||||
@@ -1,30 +1,29 @@
|
||||
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
/// <summary>
|
||||
/// IP类型枚举
|
||||
/// </summary>
|
||||
public enum IpType
|
||||
{
|
||||
/// <summary>
|
||||
/// IP类型枚举
|
||||
/// A类IP地址
|
||||
/// </summary>
|
||||
public enum IpType
|
||||
{
|
||||
/// <summary>
|
||||
/// A类IP地址
|
||||
/// </summary>
|
||||
A = 0,
|
||||
/// <summary>
|
||||
/// B类IP地址
|
||||
/// </summary>
|
||||
B,
|
||||
/// <summary>
|
||||
/// C类IP地址
|
||||
/// </summary>
|
||||
C,
|
||||
/// <summary>
|
||||
/// D类IP地址
|
||||
/// </summary>
|
||||
D,
|
||||
/// <summary>
|
||||
/// E类IP地址
|
||||
/// </summary>
|
||||
E
|
||||
}
|
||||
}
|
||||
A = 0,
|
||||
/// <summary>
|
||||
/// B类IP地址
|
||||
/// </summary>
|
||||
B,
|
||||
/// <summary>
|
||||
/// C类IP地址
|
||||
/// </summary>
|
||||
C,
|
||||
/// <summary>
|
||||
/// D类IP地址
|
||||
/// </summary>
|
||||
D,
|
||||
/// <summary>
|
||||
/// E类IP地址
|
||||
/// </summary>
|
||||
E
|
||||
}
|
||||
@@ -1,9 +1,8 @@
|
||||
namespace HandyControl.Data
|
||||
{
|
||||
public enum LinearLayout
|
||||
{
|
||||
Stack,
|
||||
namespace HandyControl.Data;
|
||||
|
||||
Uniform
|
||||
}
|
||||
}
|
||||
public enum LinearLayout
|
||||
{
|
||||
Stack,
|
||||
|
||||
Uniform
|
||||
}
|
||||
@@ -1,12 +1,11 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum MouseHookMessageType
|
||||
{
|
||||
public enum MouseHookMessageType
|
||||
{
|
||||
LeftButtonDown = 0x0201,
|
||||
LeftButtonUp = 0x0202,
|
||||
MouseMove = 0x0200,
|
||||
MouseWheel = 0x020A,
|
||||
RightButtonDown = 0x0204,
|
||||
RightButtonUp = 0x0205
|
||||
}
|
||||
}
|
||||
LeftButtonDown = 0x0201,
|
||||
LeftButtonUp = 0x0202,
|
||||
MouseMove = 0x0200,
|
||||
MouseWheel = 0x020A,
|
||||
RightButtonDown = 0x0204,
|
||||
RightButtonUp = 0x0205
|
||||
}
|
||||
@@ -1,25 +1,24 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum NotifyIconInfoType
|
||||
{
|
||||
public enum NotifyIconInfoType
|
||||
{
|
||||
/// <summary>
|
||||
/// No Icon.
|
||||
/// </summary>
|
||||
None,
|
||||
/// <summary>
|
||||
/// No Icon.
|
||||
/// </summary>
|
||||
None,
|
||||
|
||||
/// <summary>
|
||||
/// A Information Icon.
|
||||
/// </summary>
|
||||
Info,
|
||||
/// <summary>
|
||||
/// A Information Icon.
|
||||
/// </summary>
|
||||
Info,
|
||||
|
||||
/// <summary>
|
||||
/// A Warning Icon.
|
||||
/// </summary>
|
||||
Warning,
|
||||
/// <summary>
|
||||
/// A Warning Icon.
|
||||
/// </summary>
|
||||
Warning,
|
||||
|
||||
/// <summary>
|
||||
/// A Error Icon.
|
||||
/// </summary>
|
||||
Error
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// A Error Icon.
|
||||
/// </summary>
|
||||
Error
|
||||
}
|
||||
@@ -1,66 +1,65 @@
|
||||
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum PlacementType
|
||||
{
|
||||
public enum PlacementType
|
||||
{
|
||||
/// <summary>
|
||||
/// 左上
|
||||
/// </summary>
|
||||
LeftTop,
|
||||
/// <summary>
|
||||
/// 左上
|
||||
/// </summary>
|
||||
LeftTop,
|
||||
|
||||
/// <summary>
|
||||
/// 左
|
||||
/// </summary>
|
||||
Left,
|
||||
/// <summary>
|
||||
/// 左
|
||||
/// </summary>
|
||||
Left,
|
||||
|
||||
/// <summary>
|
||||
/// 左下
|
||||
/// </summary>
|
||||
LeftBottom,
|
||||
/// <summary>
|
||||
/// 左下
|
||||
/// </summary>
|
||||
LeftBottom,
|
||||
|
||||
/// <summary>
|
||||
/// 上左
|
||||
/// </summary>
|
||||
TopLeft,
|
||||
/// <summary>
|
||||
/// 上左
|
||||
/// </summary>
|
||||
TopLeft,
|
||||
|
||||
/// <summary>
|
||||
/// 上
|
||||
/// </summary>
|
||||
Top,
|
||||
/// <summary>
|
||||
/// 上
|
||||
/// </summary>
|
||||
Top,
|
||||
|
||||
/// <summary>
|
||||
/// 上右
|
||||
/// </summary>
|
||||
TopRight,
|
||||
/// <summary>
|
||||
/// 上右
|
||||
/// </summary>
|
||||
TopRight,
|
||||
|
||||
/// <summary>
|
||||
/// 右上
|
||||
/// </summary>
|
||||
RightTop,
|
||||
/// <summary>
|
||||
/// 右上
|
||||
/// </summary>
|
||||
RightTop,
|
||||
|
||||
/// <summary>
|
||||
/// 右
|
||||
/// </summary>
|
||||
Right,
|
||||
/// <summary>
|
||||
/// 右
|
||||
/// </summary>
|
||||
Right,
|
||||
|
||||
/// <summary>
|
||||
/// 右下
|
||||
/// </summary>
|
||||
RightBottom,
|
||||
/// <summary>
|
||||
/// 右下
|
||||
/// </summary>
|
||||
RightBottom,
|
||||
|
||||
/// <summary>
|
||||
/// 下左
|
||||
/// </summary>
|
||||
BottomLeft,
|
||||
/// <summary>
|
||||
/// 下左
|
||||
/// </summary>
|
||||
BottomLeft,
|
||||
|
||||
/// <summary>
|
||||
/// 下
|
||||
/// </summary>
|
||||
Bottom,
|
||||
/// <summary>
|
||||
/// 下
|
||||
/// </summary>
|
||||
Bottom,
|
||||
|
||||
/// <summary>
|
||||
/// 下右
|
||||
/// </summary>
|
||||
BottomRight,
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 下右
|
||||
/// </summary>
|
||||
BottomRight,
|
||||
}
|
||||
@@ -1,24 +1,23 @@
|
||||
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
/// <summary>
|
||||
/// 表示一个操作的返回结果类型
|
||||
/// </summary>
|
||||
public enum ResultType
|
||||
{
|
||||
/// <summary>
|
||||
/// 表示一个操作的返回结果类型
|
||||
/// 成功
|
||||
/// </summary>
|
||||
public enum ResultType
|
||||
{
|
||||
/// <summary>
|
||||
/// 成功
|
||||
/// </summary>
|
||||
Success,
|
||||
Success,
|
||||
|
||||
/// <summary>
|
||||
/// 失败
|
||||
/// </summary>
|
||||
Failed,
|
||||
/// <summary>
|
||||
/// 失败
|
||||
/// </summary>
|
||||
Failed,
|
||||
|
||||
/// <summary>
|
||||
/// 无数据
|
||||
/// </summary>
|
||||
None
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 无数据
|
||||
/// </summary>
|
||||
None
|
||||
}
|
||||
@@ -1,10 +1,9 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum ShowAnimation
|
||||
{
|
||||
public enum ShowAnimation
|
||||
{
|
||||
None,
|
||||
HorizontalMove,
|
||||
VerticalMove,
|
||||
Fade
|
||||
}
|
||||
}
|
||||
None,
|
||||
HorizontalMove,
|
||||
VerticalMove,
|
||||
Fade
|
||||
}
|
||||
@@ -1,8 +1,7 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum SideMenuItemRole
|
||||
{
|
||||
public enum SideMenuItemRole
|
||||
{
|
||||
Header,
|
||||
Item
|
||||
}
|
||||
}
|
||||
Header,
|
||||
Item
|
||||
}
|
||||
@@ -1,10 +1,9 @@
|
||||
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum SkinType
|
||||
{
|
||||
public enum SkinType
|
||||
{
|
||||
Default,
|
||||
Dark,
|
||||
Violet
|
||||
}
|
||||
}
|
||||
Default,
|
||||
Dark,
|
||||
Violet
|
||||
}
|
||||
@@ -1,23 +1,22 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
/// <summary>
|
||||
/// 步骤状态
|
||||
/// </summary>
|
||||
public enum StepStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// 步骤状态
|
||||
/// 完成
|
||||
/// </summary>
|
||||
public enum StepStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// 完成
|
||||
/// </summary>
|
||||
Complete,
|
||||
Complete,
|
||||
|
||||
/// <summary>
|
||||
/// 进行中
|
||||
/// </summary>
|
||||
UnderWay,
|
||||
/// <summary>
|
||||
/// 进行中
|
||||
/// </summary>
|
||||
UnderWay,
|
||||
|
||||
/// <summary>
|
||||
/// 等待中
|
||||
/// </summary>
|
||||
Waiting
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 等待中
|
||||
/// </summary>
|
||||
Waiting
|
||||
}
|
||||
@@ -1,9 +1,8 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum StrokePosition
|
||||
{
|
||||
public enum StrokePosition
|
||||
{
|
||||
Center,
|
||||
Outside,
|
||||
Inside
|
||||
}
|
||||
}
|
||||
Center,
|
||||
Outside,
|
||||
Inside
|
||||
}
|
||||
@@ -1,27 +1,26 @@
|
||||
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
/// <summary>
|
||||
/// 文本类型枚举
|
||||
/// </summary>
|
||||
public enum TextType
|
||||
{
|
||||
/// <summary>
|
||||
/// 文本类型枚举
|
||||
/// </summary>
|
||||
public enum TextType
|
||||
{
|
||||
Common,
|
||||
Phone,
|
||||
Mail,
|
||||
Url,
|
||||
Chinese,
|
||||
Number,
|
||||
Digits,
|
||||
PInt,
|
||||
NInt,
|
||||
Int,
|
||||
NnInt,
|
||||
NpInt,
|
||||
PDouble,
|
||||
NDouble,
|
||||
Double,
|
||||
NnDouble,
|
||||
NpDouble
|
||||
}
|
||||
}
|
||||
Common,
|
||||
Phone,
|
||||
Mail,
|
||||
Url,
|
||||
Chinese,
|
||||
Number,
|
||||
Digits,
|
||||
PInt,
|
||||
NInt,
|
||||
Int,
|
||||
NnInt,
|
||||
NpInt,
|
||||
PDouble,
|
||||
NDouble,
|
||||
Double,
|
||||
NnDouble,
|
||||
NpDouble
|
||||
}
|
||||
@@ -1,12 +1,11 @@
|
||||
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
/// <summary>
|
||||
/// 标题对齐方式
|
||||
/// </summary>
|
||||
public enum TitlePlacementType
|
||||
{
|
||||
/// <summary>
|
||||
/// 标题对齐方式
|
||||
/// </summary>
|
||||
public enum TitlePlacementType
|
||||
{
|
||||
Left,
|
||||
Top
|
||||
}
|
||||
}
|
||||
Left,
|
||||
Top
|
||||
}
|
||||
@@ -1,16 +1,15 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum TransitionMode
|
||||
{
|
||||
public enum TransitionMode
|
||||
{
|
||||
Right2Left,
|
||||
Left2Right,
|
||||
Bottom2Top,
|
||||
Top2Bottom,
|
||||
Right2LeftWithFade,
|
||||
Left2RightWithFade,
|
||||
Bottom2TopWithFade,
|
||||
Top2BottomWithFade,
|
||||
Fade,
|
||||
Custom
|
||||
}
|
||||
}
|
||||
Right2Left,
|
||||
Left2Right,
|
||||
Bottom2Top,
|
||||
Top2Bottom,
|
||||
Right2LeftWithFade,
|
||||
Left2RightWithFade,
|
||||
Bottom2TopWithFade,
|
||||
Top2BottomWithFade,
|
||||
Fade,
|
||||
Custom
|
||||
}
|
||||
@@ -1,8 +1,7 @@
|
||||
namespace HandyControl.Data
|
||||
namespace HandyControl.Data;
|
||||
|
||||
public enum VisualWrapping
|
||||
{
|
||||
public enum VisualWrapping
|
||||
{
|
||||
NoWrap,
|
||||
Wrap
|
||||
}
|
||||
}
|
||||
NoWrap,
|
||||
Wrap
|
||||
}
|
||||
Reference in new issue
Block a user