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
59 lines
1.3 KiB
Plaintext
59 lines
1.3 KiB
Plaintext
<#@ template debug="false" hostspecific="false" language="C#" #>
|
|
<#@ import namespace="System.Collections.Generic"#>
|
|
<#@ output extension=".cs" #>
|
|
<#
|
|
var controlList = new List<string>
|
|
{
|
|
"GrowlDemoCtl",
|
|
"LoadingDemoCtl",
|
|
"ImageBrowserDemoCtl",
|
|
"ColorPickerDemoCtl",
|
|
"CarouselDemoCtl",
|
|
"CompareSliderDemoCtl",
|
|
"TimeBarDemoCtl",
|
|
"PaginationDemoCtl",
|
|
"AnimationPathDemoCtl",
|
|
"StepBarDemoCtl",
|
|
"ClockDemoCtl",
|
|
"TimePickerDemoCtl",
|
|
"CirclePanelDemoCtl",
|
|
"NumericUpDownDemoCtl",
|
|
"WindowDemoCtl"
|
|
};
|
|
var styleList = new List<string>
|
|
{
|
|
"ButtonDemoCtl",
|
|
"ToggleButtonDemoCtl",
|
|
"ExpanderDemoCtl",
|
|
"ProgressBarDemoCtl",
|
|
"TabControlDemoCtl",
|
|
"CalendarDemoCtl",
|
|
"DatePickerDemoCtl",
|
|
"TextBoxDemoCtl",
|
|
"TextBlockDemoCtl",
|
|
"ComboBoxDemoCtl",
|
|
"PasswordBoxDemoCtl",
|
|
"NaiveTabControlDemoCtl",
|
|
"DataGridDemoCtl",
|
|
"CheckBoxDemoCtl",
|
|
"ListBoxDemoCtl",
|
|
"MenuDemoCtl",
|
|
"TreeViewDemoCtl",
|
|
"BorderDemoCtl"
|
|
};
|
|
#>
|
|
namespace HandyControlDemo.Data
|
|
{
|
|
public class MessageToken
|
|
{
|
|
<#foreach(var item in controlList){#>
|
|
public static readonly string <#=item#> = nameof(<#=item#>);
|
|
|
|
<#}#>
|
|
<#foreach(var item in styleList){#>
|
|
public static readonly string <#=item#> = nameof(<#=item#>);
|
|
|
|
<#}#>
|
|
public static readonly string LoadShowContent = nameof(LoadShowContent);
|
|
}
|
|
} |