Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
livecharts
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
livecharts
Commits
32c09b3f
Commit
32c09b3f
authored
Jul 31, 2019
by
540597360@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VisualElement的VisualTree错误(不完整)
parent
4f31cfaf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
VisualElement.cs
WpfView/VisualElement.cs
+2
-0
No files found.
WpfView/VisualElement.cs
View file @
32c09b3f
...
@@ -95,6 +95,7 @@ namespace LiveCharts.Wpf
...
@@ -95,6 +95,7 @@ namespace LiveCharts.Wpf
if
(
UIElement
.
Parent
==
null
)
if
(
UIElement
.
Parent
==
null
)
{
{
chart
.
View
.
AddToDrawMargin
(
UIElement
);
chart
.
View
.
AddToDrawMargin
(
UIElement
);
chart
.
View
.
AddToDrawMargin
(
this
);
Panel
.
SetZIndex
(
UIElement
,
1000
);
Panel
.
SetZIndex
(
UIElement
,
1000
);
}
}
...
@@ -175,6 +176,7 @@ namespace LiveCharts.Wpf
...
@@ -175,6 +176,7 @@ namespace LiveCharts.Wpf
public
void
Remove
(
ChartCore
chart
)
public
void
Remove
(
ChartCore
chart
)
{
{
chart
.
View
.
RemoveFromDrawMargin
(
UIElement
);
chart
.
View
.
RemoveFromDrawMargin
(
UIElement
);
chart
.
View
.
RemoveFromDrawMargin
(
this
);
}
}
private
static
void
PropertyChangedCallback
(
DependencyObject
dependencyObject
,
DependencyPropertyChangedEventArgs
dependencyPropertyChangedEventArgs
)
private
static
void
PropertyChangedCallback
(
DependencyObject
dependencyObject
,
DependencyPropertyChangedEventArgs
dependencyPropertyChangedEventArgs
)
...
...
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