-
Notifications
You must be signed in to change notification settings - Fork 298
Expand file tree
/
Copy pathRainbowButtonsExample.xaml
More file actions
37 lines (37 loc) · 2.13 KB
/
RainbowButtonsExample.xaml
File metadata and controls
37 lines (37 loc) · 2.13 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
<UserControl
x:Class="WPFDevelopers.Samples.ExampleViews.RainbowButtonsExample"
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:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DesignHeight="450"
d:DesignWidth="800"
Background="{DynamicResource WD.PrimaryTextBrush}"
mc:Ignorable="d">
<UserControl.Resources>
<FontFamily x:Key="Fixedsys">/WPFDevelopers.Samples;component/Resources/Fonts/fixedsys.ttf#Fixedsys Excelsior 3.01</FontFamily>
</UserControl.Resources>
<controls:CodeViewer Header="{Binding NavigateMenuItem.Name}">
<UniformGrid Rows="2">
<controls:RainbowAppleButton Content="Apple!" FontFamily="{StaticResource Fixedsys}" />
<controls:RainbowAppleButtonWithGlow FontFamily="{StaticResource Fixedsys}" />
</UniformGrid>
<controls:CodeViewer.SourceCodes>
<controls:SourceCodeModel CodeSource="/WPFDevelopers.SamplesCode;component/ExampleViews/RainbowButtonsExample.xaml" CodeType="Xaml" />
<controls:SourceCodeModel CodeSource="/WPFDevelopers.SamplesCode;component/ExampleViews/RainbowButtonsExample.xaml.cs" CodeType="CSharp" />
<controls:SourceCodeModel
CodeSource="/WPFDevelopers.SamplesCode;component/Controls/RainbowButtons/RainbowButtons.xaml"
CodeType="Xaml"
Haader="RainbowButtons" />
<controls:SourceCodeModel
CodeSource="/WPFDevelopers.SamplesCode;component/Controls/RainbowButtons/RainbowAppleButton.cs"
CodeType="CSharp"
Haader="RainbowAppleButton.cs" />
<controls:SourceCodeModel
CodeSource="/WPFDevelopers.SamplesCode;component/Controls/RainbowButtons/RainbowAppleButtonWithGlow.cs"
CodeType="CSharp"
Haader="RainbowAppleButtonWithGlow.cs" />
</controls:CodeViewer.SourceCodes>
</controls:CodeViewer>
</UserControl>