update to v1.3.4
1. add datagrid style 2. improve the numericupdown 3. add checkbox style 4. add listbox demo 5. add treeview demo 6. add border demo 7. remove angle property of iconelement 8. add menu demo
This commit is contained in:
1 parent
8997e418f7
commit
880a0eefba
89 files changed
+1707
-216
No files matched your search
@@ -0,0 +1,13 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.Data
|
||||
{
|
||||
public enum DemoType
|
||||
{
|
||||
Type1 = 1,
|
||||
Type2,
|
||||
Type3,
|
||||
Type4,
|
||||
Type5,
|
||||
Type6
|
||||
}
|
||||
}
|
||||
@@ -30,6 +30,8 @@
|
||||
|
||||
public static readonly string NumericUpDownDemoCtl = nameof(NumericUpDownDemoCtl);
|
||||
|
||||
public static readonly string WindowDemoCtl = nameof(WindowDemoCtl);
|
||||
|
||||
public static readonly string ButtonDemoCtl = nameof(ButtonDemoCtl);
|
||||
|
||||
public static readonly string ToggleButtonDemoCtl = nameof(ToggleButtonDemoCtl);
|
||||
@@ -54,6 +56,18 @@
|
||||
|
||||
public static readonly string NaiveTabControlDemoCtl = nameof(NaiveTabControlDemoCtl);
|
||||
|
||||
public static readonly string DataGridDemoCtl = nameof(DataGridDemoCtl);
|
||||
|
||||
public static readonly string CheckBoxDemoCtl = nameof(CheckBoxDemoCtl);
|
||||
|
||||
public static readonly string ListBoxDemoCtl = nameof(ListBoxDemoCtl);
|
||||
|
||||
public static readonly string MenuDemoCtl = nameof(MenuDemoCtl);
|
||||
|
||||
public static readonly string TreeViewDemoCtl = nameof(TreeViewDemoCtl);
|
||||
|
||||
public static readonly string BorderDemoCtl = nameof(BorderDemoCtl);
|
||||
|
||||
public static readonly string LoadShowContent = nameof(LoadShowContent);
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,8 @@ var controlList = new List<string>
|
||||
"ClockDemoCtl",
|
||||
"TimePickerDemoCtl",
|
||||
"CirclePanelDemoCtl",
|
||||
"NumericUpDownDemoCtl"
|
||||
"NumericUpDownDemoCtl",
|
||||
"WindowDemoCtl"
|
||||
};
|
||||
var styleList = new List<string>
|
||||
{
|
||||
@@ -32,7 +33,13 @@ var styleList = new List<string>
|
||||
"TextBlockDemoCtl",
|
||||
"ComboBoxDemoCtl",
|
||||
"PasswordBoxDemoCtl",
|
||||
"NaiveTabControlDemoCtl"
|
||||
"NaiveTabControlDemoCtl",
|
||||
"DataGridDemoCtl",
|
||||
"CheckBoxDemoCtl",
|
||||
"ListBoxDemoCtl",
|
||||
"MenuDemoCtl",
|
||||
"TreeViewDemoCtl",
|
||||
"BorderDemoCtl"
|
||||
};
|
||||
#>
|
||||
namespace HandyControlDemo.Data
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace HandyControlDemo.Data
|
||||
{
|
||||
public class DemoDataModel
|
||||
{
|
||||
public int Index { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public bool IsSelected { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public DemoType Type { get; set; }
|
||||
|
||||
public List<DemoDataModel> DataList { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user