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
35d7c36d
Commit
35d7c36d
authored
Feb 22, 2023
by
liulongfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自定义字段
parent
118cfb6c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 additions
and
37 deletions
+1
-37
VIZ.Package.Domain/Model/ControlObject/ControlFieldNodeModel.cs
+0
-14
VIZ.Package.Module.Resource/Icons/icon_custom_32x32.png
+0
-0
VIZ.Package.Module.Resource/VIZ.Package.Module.Resource.csproj
+0
-4
VIZ.Package.Module/ControlObject/FieldTree/View/FieldTreeView.xaml
+0
-13
VIZ.Package.Module/Preview/VizPreview/View/VizPreviewView.xaml
+1
-1
VIZ.Package.Storage/Entity/ControlObject/ControlFieldEntity.cs
+0
-5
No files found.
VIZ.Package.Domain/Model/ControlObject/ControlFieldNodeModel.cs
View file @
35d7c36d
...
@@ -125,19 +125,5 @@ namespace VIZ.Package.Domain
...
@@ -125,19 +125,5 @@ namespace VIZ.Package.Domain
}
}
#
endregion
#
endregion
#
region
IsCustom
--
是否是自定义字段
private
bool
isCustom
;
/// <summary>
/// 是否是自定义字段
/// </summary>
public
bool
IsCustom
{
get
{
return
isCustom
;
}
set
{
isCustom
=
value
;
this
.
RaisePropertyChanged
(
nameof
(
IsCustom
));
}
}
#
endregion
}
}
}
}
VIZ.Package.Module.Resource/Icons/icon_custom_32x32.png
deleted
100644 → 0
View file @
118cfb6c
870 Bytes
VIZ.Package.Module.Resource/VIZ.Package.Module.Resource.csproj
View file @
35d7c36d
...
@@ -270,8 +270,5 @@
...
@@ -270,8 +270,5 @@
<Resource Include="Icons\icon_field_edit_32x32.png" />
<Resource Include="Icons\icon_field_edit_32x32.png" />
<Resource Include="Icons\icon_play_list_32x32.png" />
<Resource Include="Icons\icon_play_list_32x32.png" />
</ItemGroup>
</ItemGroup>
<ItemGroup>
<Resource Include="Icons\icon_custom_32x32.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
</Project>
\ No newline at end of file
VIZ.Package.Module/ControlObject/FieldTree/View/FieldTreeView.xaml
View file @
35d7c36d
...
@@ -16,23 +16,10 @@
...
@@ -16,23 +16,10 @@
d:DataContext="{d:DesignInstance Type=local:FieldTreeViewModel}"
d:DataContext="{d:DesignInstance Type=local:FieldTreeViewModel}"
mc:Ignorable="d"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
d:DesignHeight="450" d:DesignWidth="800">
<UserControl.Resources>
<fcore:Bool2VisibilityConverter x:Key="Bool2VisibilityConverter" TrueVisibility="Visible" FalseVisibility="Visible"></fcore:Bool2VisibilityConverter>
</UserControl.Resources>
<Grid>
<Grid>
<dxg:GridControl ItemsSource="{Binding Path=ControlObject.FieldNodes}" ShowBorder="False"
<dxg:GridControl ItemsSource="{Binding Path=ControlObject.FieldNodes}" ShowBorder="False"
SelectedItem="{Binding Path=SelectedControlField,Mode=TwoWay}">
SelectedItem="{Binding Path=SelectedControlField,Mode=TwoWay}">
<dxg:GridControl.Columns>
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="IsCustom" ReadOnly="True" AllowSorting="False" AllowColumnFiltering="False" Width="50" AllowResizing="False">
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<Image Width="20" Height="20" VerticalAlignment="Center" HorizontalAlignment="Center"
Visibility="{Binding Path=Row.IsCustom,Converter={StaticResource Bool2VisibilityConverter}}"
Source="/VIZ.Package.Module.Resource;component/Icons/icon_custom_32x32.png"></Image>
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>
<dxg:GridColumn Header="字段" FieldName="FieldIdentifier" ReadOnly="True" AllowSorting="False" AllowColumnFiltering="False" Width="150" AllowResizing="True"></dxg:GridColumn>
<dxg:GridColumn Header="字段" FieldName="FieldIdentifier" ReadOnly="True" AllowSorting="False" AllowColumnFiltering="False" Width="150" AllowResizing="True"></dxg:GridColumn>
<dxg:GridColumn Header="类型" FieldName="Type" ReadOnly="True" AllowSorting="False" AllowColumnFiltering="False" Width="100" AllowResizing="True"></dxg:GridColumn>
<dxg:GridColumn Header="类型" FieldName="Type" ReadOnly="True" AllowSorting="False" AllowColumnFiltering="False" Width="100" AllowResizing="True"></dxg:GridColumn>
<dxg:GridColumn Header="描述" FieldName="Description" ReadOnly="True" AllowSorting="False" AllowColumnFiltering="False" Width="*" AllowResizing="True"></dxg:GridColumn>
<dxg:GridColumn Header="描述" FieldName="Description" ReadOnly="True" AllowSorting="False" AllowColumnFiltering="False" Width="*" AllowResizing="True"></dxg:GridColumn>
...
...
VIZ.Package.Module/Preview/VizPreview/View/VizPreviewView.xaml
View file @
35d7c36d
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
</StackPanel>
</StackPanel>
</Grid>
</Grid>
<!-- VIZ引擎 -->
<!-- VIZ引擎 -->
<fcommon:WindowHost x:Name="host" Grid.Row="1" Background="
#FF222222" BackColor="#FF222222
">
<fcommon:WindowHost x:Name="host" Grid.Row="1" Background="
Black" BackColor="Black
">
<dxmvvm:Interaction.Behaviors>
<dxmvvm:Interaction.Behaviors>
<dxmvvm:EventToCommand PassEventArgsToCommand="True" EventName="SizeChanged"
<dxmvvm:EventToCommand PassEventArgsToCommand="True" EventName="SizeChanged"
Command="{Binding Path=WindowHostSizeChangedCommand}"></dxmvvm:EventToCommand>
Command="{Binding Path=WindowHostSizeChangedCommand}"></dxmvvm:EventToCommand>
...
...
VIZ.Package.Storage/Entity/ControlObject/ControlFieldEntity.cs
View file @
35d7c36d
...
@@ -37,10 +37,5 @@ namespace VIZ.Package.Storage
...
@@ -37,10 +37,5 @@ namespace VIZ.Package.Storage
/// 字段类型
/// 字段类型
/// </summary>
/// </summary>
public
VizControlFieldType
Type
{
get
;
set
;
}
public
VizControlFieldType
Type
{
get
;
set
;
}
/// <summary>
/// 是否是自定义字段
/// </summary>
public
bool
IsCustom
{
get
;
set
;
}
}
}
}
}
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