-
Notifications
You must be signed in to change notification settings - Fork 298
Expand file tree
/
Copy pathLineChartExample.xaml
More file actions
58 lines (58 loc) · 2.62 KB
/
Copy pathLineChartExample.xaml
File metadata and controls
58 lines (58 loc) · 2.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<UserControl x:Class="WPFDevelopers.Samples.ExampleViews.LineChartExample"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:WPFDevelopers.Samples.ExampleViews"
xmlns:controls="clr-namespace:WPFDevelopers.Samples.Controls"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
PreviewMouseDown="UserControl_PreviewMouseDown"
Loaded="UserControl_Loaded">
<controls:CodeViewer Header="{Binding NavigateMenuItem.Name}">
<Viewbox>
<Grid Width="800" Height="600">
<Grid x:Name="gArea"
Background="{DynamicResource WD.PrimaryTextBrush}"
Margin="50,20,20,20">
</Grid>
<Popup Name="pop1"
AllowsTransparency="True"
IsOpen="False"
Placement="Relative"
StaysOpen="True">
<Border Effect="{StaticResource WD.PrimaryShadowDepth}"
Background="{StaticResource WD.BackgroundBrush}"
Margin="10">
<Grid x:Name="gV"
Width="200"
Height="43">
<TextBlock x:Name="tbT"
Foreground="#0C0C26"
FontSize="14"
Margin="4,4,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Text="" />
<TextBlock x:Name="tbV"
Foreground="#0C0C26"
FontSize="14"
Margin="4,0,0,4"
HorizontalAlignment="Left"
VerticalAlignment="Bottom"
Text="" />
</Grid>
</Border>
</Popup>
</Grid>
</Viewbox>
<controls:CodeViewer.SourceCodes>
<controls:SourceCodeModel
CodeSource="/WPFDevelopers.SamplesCode;component/ExampleViews/LineChartExample.xaml"
CodeType="Xaml"/>
<controls:SourceCodeModel
CodeSource="/WPFDevelopers.SamplesCode;component/ExampleViews/LineChartExample.xaml.cs"
CodeType="CSharp"/>
</controls:CodeViewer.SourceCodes>
</controls:CodeViewer>
</UserControl>