[WPF]StackPanel
.csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, “Courier New”, courier, monospace; background-color: #ffffff; /white-space: pre;/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }]]><![CDATA[
.csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, “Courier New”, courier, monospace; background-color: #ffffff; /white-space: pre;/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }]]> <Window x:Class=“Window1”
.csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, “Courier New”, courier, monospace; background-color: #ffffff; /white-space: pre;/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }]]>
.csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, “Courier New”, courier, monospace; background-color: #ffffff; /white-space: pre;/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }]]>
<pre> <span class="kwrd"><</span><span class="html">StackPanel</span><span class="kwrd">></span></pre>
<pre class="alt"> <span class="kwrd"><</span><span class="html">Border</span> <span class="attr">Background</span><span class="kwrd">="SkyBlue"</span> <span class="attr">BorderBrush</span><span class="kwrd">="Black"</span> <span class="attr">BorderThickness</span><span class="kwrd">="1"</span><span class="kwrd">></span></pre>
<pre> <span class="kwrd"><</span><span class="html">TextBlock</span> <span class="attr">Foreground</span><span class="kwrd">="Black"</span> <span class="attr">FontSize</span><span class="kwrd">="12"</span><span class="kwrd">></span>Stacked Item #1<span class="kwrd"></</span><span class="html">TextBlock</span><span class="kwrd">></span></pre>
<pre class="alt"> <span class="kwrd"></</span><span class="html">Border</span><span class="kwrd">></span></pre>
<pre> <span class="kwrd"><</span><span class="html">Border</span> <span class="attr">Width</span><span class="kwrd">="400"</span> <span class="attr">Background</span><span class="kwrd">="CadetBlue"</span> <span class="attr">BorderBrush</span><span class="kwrd">="Black"</span> <span class="attr">BorderThickness</span><span class="kwrd">="1"</span><span class="kwrd">></span></pre>
<pre class="alt"> <span class="kwrd"><</span><span class="html">TextBlock</span> <span class="attr">Foreground</span><span class="kwrd">="Black"</span> <span class="attr">FontSize</span><span class="kwrd">="14"</span><span class="kwrd">></span>Stacked Item #2<span class="kwrd"></</span><span class="html">TextBlock</span><span class="kwrd">></span></pre>
<pre> <span class="kwrd"></</span><span class="html">Border</span><span class="kwrd">></span></pre>
<pre class="alt"> <span class="kwrd"><</span><span class="html">Border</span> <span class="attr">Background</span><span class="kwrd">="LightGoldenRodYellow"</span> <span class="attr">BorderBrush</span><span class="kwrd">="Black"</span> <span class="attr">BorderThickness</span><span class="kwrd">="1"</span><span class="kwrd">></span></pre>
<pre> <span class="kwrd"><</span><span class="html">TextBlock</span> <span class="attr">Foreground</span><span class="kwrd">="Black"</span> <span class="attr">FontSize</span><span class="kwrd">="16"</span><span class="kwrd">></span>Stacked Item #3<span class="kwrd"></</span><span class="html">TextBlock</span><span class="kwrd">></span></pre>
<pre class="alt"> <span class="kwrd"></</span><span class="html">Border</span><span class="kwrd">></span></pre>
<pre> <span class="kwrd"><</span><span class="html">Border</span> <span class="attr">Width</span><span class="kwrd">="200"</span> <span class="attr">Background</span><span class="kwrd">="PaleGreen"</span> <span class="attr">BorderBrush</span><span class="kwrd">="Black"</span> <span class="attr">BorderThickness</span><span class="kwrd">="1"</span><span class="kwrd">></span></pre>
<pre class="alt"> <span class="kwrd"><</span><span class="html">TextBlock</span> <span class="attr">Foreground</span><span class="kwrd">="Black"</span> <span class="attr">FontSize</span><span class="kwrd">="18"</span><span class="kwrd">></span>Stacked Item #4<span class="kwrd"></</span><span class="html">TextBlock</span><span class="kwrd">></span></pre>
<pre> <span class="kwrd"></</span><span class="html">Border</span><span class="kwrd">></span></pre>
<pre class="alt"> <span class="kwrd"><</span><span class="html">Border</span> <span class="attr">Background</span><span class="kwrd">="White"</span> <span class="attr">BorderBrush</span><span class="kwrd">="Black"</span> <span class="attr">BorderThickness</span><span class="kwrd">="1"</span><span class="kwrd">></span></pre>
<pre> <span class="kwrd"><</span><span class="html">TextBlock</span> <span class="attr">Foreground</span><span class="kwrd">="Black"</span> <span class="attr">FontSize</span><span class="kwrd">="20"</span><span class="kwrd">></span>Stacked Item #5<span class="kwrd"></</span><span class="html">TextBlock</span><span class="kwrd">></span></pre>
<pre class="alt"> <span class="kwrd"></</span><span class="html">Border</span><span class="kwrd">></span></pre>
<pre> <span class="kwrd"></</span><span class="html">StackPanel</span><span class="kwrd">></span></pre>
<pre class="alt"><span class="kwrd"></</span><span class="html">Page</span><span class="kwrd">></span></pre>
.csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, “Courier New”, courier, monospace; background-color: #ffffff; /white-space: pre;/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }]]>