Afternoon all. I have finally finished my water cooled PC and will be using it from now on. That brings Aqua-stuff back into the mix. I have been playing this morning with direct edits of the XML page files and have managed to duplicate some displays that I am using (fan speed and power information for my fans). Direct editing means that I don't have to worry about the micro pixel related placement work. All I have to do is the math
.
The bad side is that my images (fan, pump, temp, etc) refuse to load. I have the png files stored, the location in the XML looks right. What am I missing?
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<UserControl
x:Name="this"
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"
mc:Ignorable="d" d:DesignHeight="200" d:DesignWidth="200">
<Grid>
<!--Loads an image-->
<!--Source: path or url to image-->
<Image
Source="Content/images/fans.png"
Opacity="1.0"
Height="Auto"
Width="Auto"
Margin="0,0,0,0"
Stretch="Uniform"
StretchDirection="Both" />
</Grid>
</UserControl>
|