Repository navigation
Expand file tree
/
Copy pathThemeExample.xaml
More file actions
57 lines (56 loc) · 3.35 KB
/
Copy pathThemeExample.xaml
File metadata and controls
57 lines (56 loc) · 3.35 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
<UserControl
x:Class="WPFDevelopers.Samples.ExampleViews.Basics.ThemeExample"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:WPFDevelopers.Samples.Controls"
xmlns:wd="https://github.com/WPFDevelopersOrg/WPFDevelopers"
Background="{DynamicResource WD.BackgroundBrush}">
<controls:CodeViewer Header="Theme">
<ScrollViewer>
<StackPanel Margin="20,10">
<WrapPanel Margin="0,10">
<Image
Width="100"
Height="100"
RenderOptions.BitmapScalingMode="HighQuality"
Source="/WPFDevelopers.Samples;component/WPFDevelopers.ico" />
<StackPanel Margin="10,0">
<TextBlock
Padding="0,4"
HorizontalAlignment="Center"
FontSize="20"
Text="WPFDevelopers" />
<TextBlock
Padding="0,4"
HorizontalAlignment="Center"
FontSize="20"
Text="微信号公众号:WPFDevelopers" />
<TextBlock Padding="0,10" FontSize="20">
<Hyperlink NavigateUri="https://github.com/WPFDevelopersOrg/WPFDevelopers" RequestNavigate="GithubHyperlink_RequestNavigate">Github 源码</Hyperlink>
<Run />
<Run />
<Run />
<Hyperlink NavigateUri="https://gitee.com/WPFDevelopersOrg/WPFDevelopers" RequestNavigate="GiteeHyperlink_RequestNavigate">码云源码</Hyperlink>
<Run />
<Run />
<Run />
<Hyperlink NavigateUri="https://atomgit.com/WPFDevelopersOrg/WPFDevelopers" RequestNavigate="GiteeHyperlink_RequestNavigate">AtomGit 源码</Hyperlink>
<Run />
<Run />
<Run />
<Hyperlink NavigateUri="https://gitee.com/WPFDevelopersOrg/WPFDevelopers" RequestNavigate="QQHyperlink_RequestNavigate">加入QQ群:458041663</Hyperlink>
<Hyperlink>、340500857、929469013</Hyperlink>
</TextBlock>
</StackPanel>
</WrapPanel>
<controls:ThemeSettings Margin="0,20,0,0" />
</StackPanel>
</ScrollViewer>
<controls:CodeViewer.SourceCodes>
<controls:SourceCodeModel CodeSource="/WPFDevelopers.SamplesCode;component/ExampleViews/Basics/ThemeExample.xaml" CodeType="Xaml" />
<controls:SourceCodeModel CodeSource="/WPFDevelopers.SamplesCode;component/ExampleViews/Basics/ThemeExample.xaml.cs" CodeType="CSharp" />
<controls:SourceCodeModel CodeSource="/WPFDevelopers.SamplesCode;component/Controls/Theme/ThemeSettings.xaml" CodeType="Xaml" />
<controls:SourceCodeModel CodeSource="/WPFDevelopers.SamplesCode;component/Controls/Theme/ThemeSettings.xaml.cs" CodeType="CSharp" />
</controls:CodeViewer.SourceCodes>
</controls:CodeViewer>
</UserControl>