Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.Package
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘龙飞
VIZ.Package
Commits
d4649ebf
Commit
d4649ebf
authored
Feb 23, 2023
by
liulongfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加自定义控制字段描述
parent
6cee20c5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
298 additions
and
2 deletions
+298
-2
Doc/控制对象自定义字段.txt
+2
-2
VIZ.Package.Module/Help/About/View/AboutCustomControlFieldWindow.xaml
+207
-0
VIZ.Package.Module/Help/About/View/AboutCustomControlFieldWindow.xaml.cs
+30
-0
VIZ.Package.Module/Help/About/ViewModel/AboutCustomControlFieldWindowModel.cs
+29
-0
VIZ.Package.Module/Main/View/MainTopView.xaml
+2
-0
VIZ.Package.Module/Main/ViewModel/MainTopViewModel.cs
+20
-0
VIZ.Package.Module/VIZ.Package.Module.csproj
+8
-0
No files found.
Doc/控制对象自定义字段.txt
View file @
d4649ebf
-----
----------------------------------------------------------------------------
-----
----------------------------------------------------------------------------
...
...
@@ -7,7 +7,7 @@ Viz控制字段自定义规则
备注: 多个字段使用“*”分割
字段设置值: VIZ_CUSTOM_CONTROL_FIELD_SET
参数: FieldIdentifier|Value
|
FieldIdentifier|Value
参数: FieldIdentifier|Value
*
FieldIdentifier|Value
备注: 多个字段使用“*”分割
Type自定义类型定义: custom_video : 自定义视频
...
...
VIZ.Package.Module/Help/About/View/AboutCustomControlFieldWindow.xaml
0 → 100644
View file @
d4649ebf
This diff is collapsed.
Click to expand it.
VIZ.Package.Module/Help/About/View/AboutCustomControlFieldWindow.xaml.cs
0 → 100644
View file @
d4649ebf
using
DevExpress.Xpf.Core
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Windows
;
using
System.Windows.Controls
;
using
System.Windows.Data
;
using
System.Windows.Documents
;
using
System.Windows.Input
;
using
System.Windows.Media
;
using
System.Windows.Media.Imaging
;
using
System.Windows.Shapes
;
using
VIZ.Framework.Core
;
namespace
VIZ.Package.Module
{
/// <summary>
/// Interaction logic for AboutCustomControlFieldWindow.xaml
/// </summary>
public
partial
class
AboutCustomControlFieldWindow
:
ThemedWindow
{
public
AboutCustomControlFieldWindow
()
{
InitializeComponent
();
WPFHelper
.
BindingViewModel
(
this
,
new
AboutCustomControlFieldWindowModel
());
}
}
}
VIZ.Package.Module/Help/About/ViewModel/AboutCustomControlFieldWindowModel.cs
0 → 100644
View file @
d4649ebf
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
VIZ.Framework.Core
;
namespace
VIZ.Package.Module
{
/// <summary>
/// 关于自定义控制字段窗口模型
/// </summary>
public
class
AboutCustomControlFieldWindowModel
:
ViewModelBase
{
public
AboutCustomControlFieldWindowModel
()
{
}
// ==========================================================
// 属性
// ==========================================================
// ==========================================================
// 命令
// ==========================================================
}
}
VIZ.Package.Module/Main/View/MainTopView.xaml
View file @
d4649ebf
...
...
@@ -69,6 +69,8 @@
<dxb:BarSubItem Content="帮助">
<dxb:BarButtonItem Content="关于" Glyph="/VIZ.Package.Module.Resource;component/Icons/top_icon_about_20x20.png"
Command="{Binding Path=AboutCommand}"/>
<dxb:BarButtonItem Content="关于自定义控制字段" Glyph="/VIZ.Package.Module.Resource;component/Icons/icon_custom_32x32.png"
Command="{Binding Path=AboutCustomControlFieldCommand}"/>
</dxb:BarSubItem>
</dxb:MainMenuControl>
</StackPanel>
...
...
VIZ.Package.Module/Main/ViewModel/MainTopViewModel.cs
View file @
d4649ebf
...
...
@@ -44,6 +44,7 @@ namespace VIZ.Package.Module
this
.
SettingCommand
=
new
VCommand
(
this
.
Setting
);
this
.
ResetLayoutCommand
=
new
VCommand
(
this
.
ResetLayout
);
this
.
AboutCommand
=
new
VCommand
(
this
.
About
);
this
.
AboutCustomControlFieldCommand
=
new
VCommand
(
this
.
AboutCustomControlField
);
}
/// <summary>
...
...
@@ -392,6 +393,25 @@ namespace VIZ.Package.Module
#
endregion
#
region
AboutCustomControlFieldCommand
--
关于自定义控制字段命令
/// <summary>
/// 关于自定义控制字段命令
/// </summary>
public
VCommand
AboutCustomControlFieldCommand
{
get
;
set
;
}
/// <summary>
/// 关于自定义控制字段
/// </summary>
private
void
AboutCustomControlField
()
{
AboutCustomControlFieldWindow
window
=
new
AboutCustomControlFieldWindow
();
window
.
Owner
=
ApplicationDomainEx
.
MainWindow
;
window
.
ShowDialog
();
}
#
endregion
// =====================================================================
// Message
// =====================================================================
...
...
VIZ.Package.Module/VIZ.Package.Module.csproj
View file @
d4649ebf
...
...
@@ -109,6 +109,10 @@
<DependentUpon>FontListCellEdit.xaml</DependentUpon>
</Compile>
<Compile Include="Control\Service\IControlService.cs" />
<Compile Include="Help\About\ViewModel\AboutCustomControlFieldWindowModel.cs" />
<Compile Include="Help\About\View\AboutCustomControlFieldWindow.xaml.cs">
<DependentUpon>AboutCustomControlFieldWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Log\ViewModel\ErrorLogWindowModel.cs" />
<Compile Include="Log\View\ErrorLogWindow.xaml.cs">
<DependentUpon>ErrorLogWindow.xaml</DependentUpon>
...
...
@@ -418,6 +422,10 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Help\About\View\AboutCustomControlFieldWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Log\View\ErrorLogWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment