<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bauer-martin.com</title>
	<atom:link href="http://www.bauer-martin.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bauer-martin.com</link>
	<description></description>
	<lastBuildDate>Thu, 05 Apr 2012 19:23:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Endlich da, die neue Notebook-Hülle</title>
		<link>http://www.bauer-martin.com/allgemein/endlich-da-die-neue-notebook-hulle-709.html</link>
		<comments>http://www.bauer-martin.com/allgemein/endlich-da-die-neue-notebook-hulle-709.html#comments</comments>
		<pubDate>Fri, 09 Mar 2012 07:36:53 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Lapàporter]]></category>
		<category><![CDATA[Notebook Hülle]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=709</guid>
		<description><![CDATA[Schon etwas länger war ich auf der Suche nach einer guten und hochwertigen Notebook-Hülle. Jetzt hab ich sie endlich. Es handelt sich um die Velours Flap von Lapàporter in der Farbe schwarz und Größe 13&#8243;. Die Verarbeitung und das Material der Hülle ist einfach spitze und der Preis dafür mehr als nur fair und gerechtfertig. [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.bauer-martin.com/allgemein/endlich-da-die-neue-notebook-hulle-709.html" title="Permanent link to Endlich da, die neue Notebook-Hülle"><img class="post_image alignleft remove_bottom_margin" src="http://www.bauer-martin.com/wp-content/uploads/2012/03/WP_000240-300x225.jpg" width="300" height="225" alt="Lapàporter Velours Flap " /></a>
</p><p>Schon etwas länger war ich auf der Suche nach einer guten und hochwertigen Notebook-Hülle. Jetzt hab ich sie endlich. Es handelt sich um die <a href="http://lapaporter.de/products-page/laptoptaschen-aus-feinem-leder/laptop-macbook-huelle-veloursleder-flap/" target="_blank">Velours Flap</a> von Lapàporter in der Farbe schwarz und Größe 13&#8243;. Die Verarbeitung und das Material der Hülle ist einfach spitze und der Preis dafür mehr als nur fair und gerechtfertig. Das MacBook sitzt perfekt in der Hülle und wird dauch das Innenfutter auch gut gegen Kratzer geschützt.</p>
<p>Wer auch auf der Suche nach einer sehr guten und hochwerten Hülle ist, sollte sich die Produkte von Lapàporter umbedingt einmal anschauen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/allgemein/endlich-da-die-neue-notebook-hulle-709.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outlook 2010 startet zweimal</title>
		<link>http://www.bauer-martin.com/windows/outlook-2010-startet-zweimal-706.html</link>
		<comments>http://www.bauer-martin.com/windows/outlook-2010-startet-zweimal-706.html#comments</comments>
		<pubDate>Sat, 03 Mar 2012 10:49:12 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Outlook]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=706</guid>
		<description><![CDATA[Ich hatte das Problem, dass nach der Neuinstallation von Windows mein Outlook 2010 immer zweimal gestartet ist. Ich konnte auch keine Einstellung finden bzw. mir auch nicht wirklich vorstellen dass es eine solche gibt. Das Problem ist aber ganz einfach zu lösen: Wenn man Outlook nicht über das X oben rechts schließt sondern über Beenden [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img src="http://www.bauer-martin.com/wp-content/uploads/2010/03/outlook.jpg" alt="Outlook" title="Outlook" width="620" height="120" class="alignnone size-full wp-image-246" /><br />
Ich hatte das Problem, dass nach der Neuinstallation von Windows mein Outlook 2010 immer zweimal gestartet ist. Ich konnte auch keine Einstellung finden bzw. mir auch nicht wirklich vorstellen dass es eine solche gibt. Das Problem ist aber ganz einfach zu lösen: Wenn man Outlook nicht über das X oben rechts schließt sondern über Beenden speichert es den aktuellen Status &#8211; auch die Anzahl der geöffneten Instanzen. Wenn man jetzt nun ein Outlook-Fenster normal schließt und das andere über Datei -> Beenden, dann ändert er wieder die Einstellungen und startet absofort nur noch eine Instanz.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/windows/outlook-2010-startet-zweimal-706.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacBook Pro 13&#8243;: USB Laufwerk lässt sich nicht entfernen</title>
		<link>http://www.bauer-martin.com/allgemein/macbook-pro-13-usb-laufwerk-lasst-sich-nicht-enternen-703.html</link>
		<comments>http://www.bauer-martin.com/allgemein/macbook-pro-13-usb-laufwerk-lasst-sich-nicht-enternen-703.html#comments</comments>
		<pubDate>Wed, 29 Feb 2012 12:29:16 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[entfernen]]></category>
		<category><![CDATA[MacBook Pro]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=703</guid>
		<description><![CDATA[Hab das Problem gehabt, dass sich ein USB Laufwerk unter Windows an meinem MacBook Pro 13 Zoll nicht sicher entfernen lässt. Das Problem tritt nur auf, wenn die USB-Platte am vorderen USB-Anschluss angeschlossen ist. Beim hinteren klappt es einwandfrei. Scheint ein Design-Fehler von Apple zu sein. Nähere Informationen gibt es in diesen Support-Eintrag.]]></description>
			<content:encoded><![CDATA[<p></p><p>Hab das Problem gehabt, dass sich ein USB Laufwerk unter Windows an meinem MacBook Pro 13 Zoll nicht sicher entfernen lässt. Das Problem tritt nur auf, wenn die USB-Platte am vorderen USB-Anschluss angeschlossen ist. Beim hinteren klappt es einwandfrei. Scheint ein Design-Fehler von Apple zu sein. Nähere Informationen gibt es in diesen <a href="http://support.apple.com/kb/TS4077?viewlocale=de_DE" target="_blank">Support-Eintrag</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/allgemein/macbook-pro-13-usb-laufwerk-lasst-sich-nicht-enternen-703.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeTo1Note</title>
		<link>http://www.bauer-martin.com/csharp/codeto1note-700.html</link>
		<comments>http://www.bauer-martin.com/csharp/codeto1note-700.html#comments</comments>
		<pubDate>Mon, 27 Feb 2012 13:49:11 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[CodeSnippets]]></category>
		<category><![CDATA[CodeTo1Note]]></category>
		<category><![CDATA[OneNote]]></category>
		<category><![CDATA[SkyDrive]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=700</guid>
		<description><![CDATA[Ich war seit längerem auf der Suche nach einen CodeSnippet Tool welches meine Anforderungen erfüllt. Leider hatte ich bisher nie eins gefunden was mir gefällt. Seit kurzem verwende ich nun Microsoft OneNote 2010 dafür. Synchronisiert sich mit SkyDrive, bietet Kategorien (durch die Abschnitte) und Syntax-Highliting. Das einzige was mir noch gefehlt hat war das direkte [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Ich war seit längerem auf der Suche nach einen CodeSnippet Tool welches meine Anforderungen erfüllt. Leider hatte ich bisher nie eins gefunden was mir gefällt. Seit kurzem verwende ich nun Microsoft OneNote 2010 dafür. Synchronisiert sich mit SkyDrive, bietet Kategorien (durch die Abschnitte) und Syntax-Highliting.</p>
<p>Das einzige was mir noch gefehlt hat war das direkte erzeugen eines Snippets aus Visual Studio heraus. Nach kurzer Suche hab ich auch das passende AddIn gefunden: CodeTo1Note. Download gibt es <a href="http://blogs.msdn.com/b/johnguin/archive/2011/02/17/final-update-for-code-to-onenote.aspx" target="_blank">hier</a>. Anleitung zur Installation findet sich im Zip-Archiv.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/csharp/codeto1note-700.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows Live SkyDrive in den Windows Explorer einbinden</title>
		<link>http://www.bauer-martin.com/allgemein/windows-live-skydrive-in-den-windows-explorer-einbinden-692.html</link>
		<comments>http://www.bauer-martin.com/allgemein/windows-live-skydrive-in-den-windows-explorer-einbinden-692.html#comments</comments>
		<pubDate>Fri, 24 Feb 2012 19:36:43 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Netzwerklaufwerk]]></category>
		<category><![CDATA[SkyDrive]]></category>
		<category><![CDATA[Windows Live]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=692</guid>
		<description><![CDATA[Der kostenlose Cloudpseicher SkyDrive von Microsoft lässt sich problemlos und ohne Zusatzsoftware in den Windows Explorer einbinden und wie ein normales Netzwerklaufwerk verwenden. Per Browser zu SkyDrive gehen und seine ID (Buchstaben-Zahlenkombination) aus der URL kopieren. Der Parameter ist &#8220;#cid&#8221; oder &#8220;id&#8221;. Im Windows Explorer Netzwerklauf verbinden und folgenden Pfad angeben: \\&#60;id&#62;.docs.live.net@SSL\&#60;id&#62; Sobald man aufgefordert [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img src="http://www.bauer-martin.com/wp-content/uploads/2012/02/skydrive_logo-300x155.jpg" alt="Windows Live SkyDrive" title="Windows Live SkyDrive" width="300" height="155" class="size-medium wp-image-693 center" /></p>
<p>Der kostenlose Cloudpseicher SkyDrive von Microsoft lässt sich problemlos und ohne Zusatzsoftware in den Windows Explorer einbinden und wie ein normales Netzwerklaufwerk verwenden.</p>
<ul>
<li>Per Browser zu SkyDrive gehen und seine ID (Buchstaben-Zahlenkombination) aus der URL kopieren. Der Parameter ist &#8220;#cid&#8221; oder &#8220;id&#8221;.</li>
<li>Im Windows Explorer Netzwerklauf verbinden und folgenden Pfad angeben: \\&lt;id&gt;.docs.live.net@SSL\&lt;id&gt;</li>
<li>Sobald man aufgefordert wird, seine Windows ID Zugangsdaten eingeben und bestätigen</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/allgemein/windows-live-skydrive-in-den-windows-explorer-einbinden-692.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPF: Resizeable Grid</title>
		<link>http://www.bauer-martin.com/csharp/wpf-resizeable-grid-685.html</link>
		<comments>http://www.bauer-martin.com/csharp/wpf-resizeable-grid-685.html#comments</comments>
		<pubDate>Fri, 02 Dec 2011 13:02:36 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Grid]]></category>
		<category><![CDATA[GridSplitter]]></category>
		<category><![CDATA[Resizeable]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=685</guid>
		<description><![CDATA[Oft ist es notwendig in seinen Anwendungen den User die Mögichkeit zu bieten, das Layout an seine Bedürfnisse anzupassen. Eine der einfachsten Arten ist hierbei die einzelnen Bereiche in der Größe anpassbar zu machen. Bei WPF gibt es für diesen Zweck den GridSplitter, mit welchen man einzelne Zeilen (Rows) oder Spalten (Columns) des Grids verschieben [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Oft ist es notwendig in seinen Anwendungen den User die Mögichkeit zu bieten, das Layout an seine Bedürfnisse anzupassen. Eine der einfachsten Arten ist hierbei die einzelnen Bereiche in der Größe anpassbar zu machen.</p>
<p>Bei WPF gibt es für diesen Zweck den GridSplitter, mit welchen man einzelne Zeilen (Rows) oder Spalten (Columns) des Grids verschieben kann. Mit wenigen Zeilen XMAL-Code sind auch komplexere Strukturen leicht und einfach zu realisieren.</p>
<p>Beispiel:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Grid</span> <span style="color: #000066;">Grid.Row</span>=<span style="color: #ff0000;">&quot;1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Grid.RowDefinitions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;RowDefinition</span> <span style="color: #000066;">Height</span>=<span style="color: #ff0000;">&quot;150&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;RowDefinition</span> <span style="color: #000066;">Height</span>=<span style="color: #ff0000;">&quot;Auto&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;RowDefinition</span> <span style="color: #000066;">Height</span>=<span style="color: #ff0000;">&quot;*&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Grid.RowDefinitions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Grid.ColumnDefinitions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ColumnDefinition</span> <span style="color: #000066;">Width</span>=<span style="color: #ff0000;">&quot;200&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ColumnDefinition</span> <span style="color: #000066;">Width</span>=<span style="color: #ff0000;">&quot;Auto&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ColumnDefinition</span> <span style="color: #000066;">Width</span>=<span style="color: #ff0000;">&quot;*&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Grid.ColumnDefinitions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Rectangle</span> <span style="color: #000066;">Fill</span>=<span style="color: #ff0000;">&quot;Red&quot;</span> <span style="color: #000066;">Grid.Column</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">Grid.Row</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">Grid.RowSpan</span>=<span style="color: #ff0000;">&quot;3&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Rectangle</span> <span style="color: #000066;">Fill</span>=<span style="color: #ff0000;">&quot;Blue&quot;</span> <span style="color: #000066;">Grid.Column</span>=<span style="color: #ff0000;">&quot;2&quot;</span> <span style="color: #000066;">Grid.Row</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Rectangle</span> <span style="color: #000066;">Fill</span>=<span style="color: #ff0000;">&quot;Green&quot;</span> <span style="color: #000066;">Grid.Column</span>=<span style="color: #ff0000;">&quot;2&quot;</span> <span style="color: #000066;">Grid.Row</span>=<span style="color: #ff0000;">&quot;2&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;GridSplitter</span> <span style="color: #000066;">Grid.Column</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000066;">Grid.Row</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">Grid.RowSpan</span>=<span style="color: #ff0000;">&quot;3&quot;</span> <span style="color: #000066;">Width</span>=<span style="color: #ff0000;">&quot;5&quot;</span> <span style="color: #000066;">VerticalAlignment</span>=<span style="color: #ff0000;">&quot;Stretch&quot;</span> <span style="color: #000066;">HorizontalAlignment</span>=<span style="color: #ff0000;">&quot;Left&quot;</span> <span style="color: #000066;">ShowsPreview</span>=<span style="color: #ff0000;">&quot;True&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;GridSplitter</span> <span style="color: #000066;">Grid.Column</span>=<span style="color: #ff0000;">&quot;2&quot;</span> <span style="color: #000066;">Grid.Row</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000066;">Height</span>=<span style="color: #ff0000;">&quot;5&quot;</span> <span style="color: #000066;">HorizontalAlignment</span>=<span style="color: #ff0000;">&quot;Stretch&quot;</span> <span style="color: #000066;">VerticalAlignment</span>=<span style="color: #ff0000;">&quot;Top&quot;</span> <span style="color: #000066;">ShowsPreview</span>=<span style="color: #ff0000;">&quot;True&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Grid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Das obige Beispiel erzeugt folgende Ausgabe:</p>
<p><img src="http://www.bauer-martin.com/wp-content/uploads/2011/12/GridSplitter-01.png" alt="" title="GridSplitter-01" width="525" height="350" class="aligncenter size-full wp-image-686" /></p>
<p>Durch die Splitter (graue Linien zwischen den Farbigen Rechtecken) können die einzelnen Spalten beliebig vergrößert und verkleinert werden.</p>
<p><img src="http://www.bauer-martin.com/wp-content/uploads/2011/12/GridSplitter-02.png" alt="" title="GridSplitter-02" width="525" height="350" class="aligncenter size-full wp-image-687" /></p>
<p>Die Eigenschaft &#8220;ShowsPreview&#8221; des GridSplitters ermöglicht es, vor dem eigentlichen Verschieben eine Vorschau anzuzeigen. Da hier nicht sofort verkleinert/vergrößert wird, sollte dies bei komplexeren Strukturen und Inhalten auch Geschwindigkeitsvorteile bringen.</p>
<p>Die Horizontal- und VerticalAliognment Eigenschaften sollten auch immer gesetzt werden da es sonst zu Problemen kommt. Es wird dann teilweise nicht die Inhalts-Zeile oder Spalte geändert, sondern die Zeile/Spalte in welcher sich der GridSplitter befindet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/csharp/wpf-resizeable-grid-685.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jsonformatter.de</title>
		<link>http://www.bauer-martin.com/javascript/jsonformatter-de-682.html</link>
		<comments>http://www.bauer-martin.com/javascript/jsonformatter-de-682.html#comments</comments>
		<pubDate>Wed, 30 Nov 2011 13:52:35 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Formatter]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[jsonformatter.de]]></category>
		<category><![CDATA[Valid]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=682</guid>
		<description><![CDATA[Eine kleine kurze Meldung in eigener Sache. Nachdem ich bei vielen der im Web zahlreich vorhandenen JSON Formattierern und Validatoren feststellen musste, dass diese leider eine ziemlich knappe Zeichenbegrenzung haben, hab ich mich entschlossen schnell selber einen zu erstellen und online zu stellen. Diesen findet Ihr unter jsonformatter.de. Es ist nichts aufregendes und auch ziemlich [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Eine kleine kurze Meldung in eigener Sache. Nachdem ich bei vielen der im Web zahlreich vorhandenen JSON Formattierern und Validatoren feststellen musste, dass diese leider eine ziemlich knappe Zeichenbegrenzung haben, hab ich mich entschlossen schnell selber einen zu erstellen und online zu stellen. Diesen findet Ihr unter <a href="http://www.jsonformatter.de">jsonformatter.de</a>. Es ist nichts aufregendes und auch ziemlich simbel und einfach gehalten.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/javascript/jsonformatter-de-682.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPF: An Office 2010 angepasstes TabControl</title>
		<link>http://www.bauer-martin.com/csharp/wpf-an-office-2010-angepasstes-tabcontrol-670.html</link>
		<comments>http://www.bauer-martin.com/csharp/wpf-an-office-2010-angepasstes-tabcontrol-670.html#comments</comments>
		<pubDate>Mon, 17 Oct 2011 16:21:14 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Office 2010]]></category>
		<category><![CDATA[Styles]]></category>
		<category><![CDATA[TabControl]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=670</guid>
		<description><![CDATA[Für ein Projekt hab ich ein an den Office 2010 Optionen Dialog (siehe Bild oben) angepasstes Control benötigt. Leider gibt es kein fertiges Control direkt von Microsoft. Jedoch handelt es sich meiner Meinung nach hierbei um ein einfaches TabControl, welches im Style entsprechend angepasst wurde. Dank WPF ist dies auch kein Problem. Mein Ergebnis sieht [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img class="aligncenter size-medium wp-image-668" title="Office 2010 Optionen Dialog" src="http://www.bauer-martin.com/wp-content/uploads/2011/10/office-2010-optionen-dialog-300x215.png" alt="Office 2010 Optionen Dialog" width="300" height="215" /></p>
<p>Für ein Projekt hab ich ein an den Office 2010 Optionen Dialog (siehe Bild oben) angepasstes Control benötigt. Leider gibt es kein fertiges Control direkt von Microsoft. Jedoch handelt es sich meiner Meinung nach hierbei um ein einfaches TabControl, welches im Style entsprechend angepasst wurde. Dank WPF ist dies auch kein Problem. Mein Ergebnis sieht folgendermaßen aus:</p>
<p><img class="aligncenter size-medium wp-image-669" title="WPF Office 2010 TabControl" src="http://www.bauer-martin.com/wp-content/uploads/2011/10/wpf-office-2010-tabcontrol-300x200.png" alt="An Office 2010 mit Styles angepasstes TabControl" width="300" height="200" /></p>
<p>Der XAML-Code für das komplette Window mit den ensprechenden Styles:<br />
<span id="more-670"></span></p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Window</span> <span style="color: #000066;">x:Class</span>=<span style="color: #ff0000;">&quot;WpfTabControl.MainWindow&quot;</span></span>
<span style="color: #009900;">        <span style="color: #000066;">xmlns</span>=<span style="color: #ff0000;">&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</span></span>
<span style="color: #009900;">        <span style="color: #000066;">xmlns:x</span>=<span style="color: #ff0000;">&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;</span></span>
<span style="color: #009900;">        <span style="color: #000066;">Title</span>=<span style="color: #ff0000;">&quot;MainWindow&quot;</span> <span style="color: #000066;">Height</span>=<span style="color: #ff0000;">&quot;350&quot;</span> <span style="color: #000066;">Width</span>=<span style="color: #ff0000;">&quot;525&quot;</span> <span style="color: #000066;">Background</span>=<span style="color: #ff0000;">&quot;#eeeeee&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Window.Resources<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    	<span style="color: #808080; font-style: italic;">&lt;!-- TabControl --&gt;</span>
    	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Style</span> <span style="color: #000066;">TargetType</span>=<span style="color: #ff0000;">&quot;{x:Type TabControl}&quot;</span> <span style="color: #000066;">x:Key</span>=<span style="color: #ff0000;">&quot;TabControlOfficeStyle&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;TabStripPlacement&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;Left&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;ItemContainerStyle&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;{DynamicResource TabItemOfficeStyle}&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;Template&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter.Value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ControlTemplate</span> <span style="color: #000066;">TargetType</span>=<span style="color: #ff0000;">&quot;{x:Type TabControl}&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Grid</span> <span style="color: #000066;">ClipToBounds</span>=<span style="color: #ff0000;">&quot;True&quot;</span> <span style="color: #000066;">SnapsToDevicePixels</span>=<span style="color: #ff0000;">&quot;True&quot;</span> <span style="color: #000066;">KeyboardNavigation.TabNavigation</span>=<span style="color: #ff0000;">&quot;Local&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Grid.ColumnDefinitions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ColumnDefinition</span> <span style="color: #000066;">Width</span>=<span style="color: #ff0000;">&quot;Auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ColumnDefinition</span> <span style="color: #000066;">Width</span>=<span style="color: #ff0000;">&quot;*&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Grid.ColumnDefinitions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Border</span> <span style="color: #000066;">Grid.Column</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">Margin</span>=<span style="color: #ff0000;">&quot;5&quot;</span> <span style="color: #000066;">Grid.Row</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">Background</span>=<span style="color: #ff0000;">&quot;White&quot;</span> <span style="color: #000066;">BorderBrush</span>=<span style="color: #ff0000;">&quot;#828790&quot;</span> <span style="color: #000066;">BorderThickness</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000066;">Padding</span>=<span style="color: #ff0000;">&quot;2&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;TabPanel</span> <span style="color: #000066;">x:Name</span>=<span style="color: #ff0000;">&quot;HeaderPanel&quot;</span> <span style="color: #000066;">IsItemsHost</span>=<span style="color: #ff0000;">&quot;True&quot;</span> <span style="color: #000066;">KeyboardNavigation.TabIndex</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000066;">Panel.ZIndex</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Border<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Border</span> <span style="color: #000066;">x:Name</span>=<span style="color: #ff0000;">&quot;ContentPanel&quot;</span> <span style="color: #000066;">BorderBrush</span>=<span style="color: #ff0000;">&quot;#828790&quot;</span> <span style="color: #000066;">BorderThickness</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000066;">Background</span>=<span style="color: #ff0000;">&quot;White&quot;</span> <span style="color: #000066;">Grid.Column</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000066;">KeyboardNavigation.DirectionalNavigation</span>=<span style="color: #ff0000;">&quot;Contained&quot;</span> <span style="color: #000066;">Grid.Row</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">KeyboardNavigation.TabIndex</span>=<span style="color: #ff0000;">&quot;2&quot;</span> <span style="color: #000066;">KeyboardNavigation.TabNavigation</span>=<span style="color: #ff0000;">&quot;Local&quot;</span> <span style="color: #000066;">VerticalAlignment</span>=<span style="color: #ff0000;">&quot;Stretch&quot;</span> <span style="color: #000066;">Margin</span>=<span style="color: #ff0000;">&quot;0,5,5,5&quot;</span> <span style="color: #000066;">Padding</span>=<span style="color: #ff0000;">&quot;5,0&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
					        	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ContentPresenter</span> <span style="color: #000066;">x:Name</span>=<span style="color: #ff0000;">&quot;PART_SelectedContentHost&quot;</span> <span style="color: #000066;">ContentTemplate</span>=<span style="color: #ff0000;">&quot;{TemplateBinding SelectedContentTemplate}&quot;</span> <span style="color: #000066;">Content</span>=<span style="color: #ff0000;">&quot;{TemplateBinding SelectedContent}&quot;</span> <span style="color: #000066;">ContentStringFormat</span>=<span style="color: #ff0000;">&quot;{TemplateBinding SelectedContentStringFormat}&quot;</span> <span style="color: #000066;">ContentSource</span>=<span style="color: #ff0000;">&quot;SelectedContent&quot;</span> <span style="color: #000066;">Margin</span>=<span style="color: #ff0000;">&quot;{TemplateBinding Padding}&quot;</span> <span style="color: #000066;">SnapsToDevicePixels</span>=<span style="color: #ff0000;">&quot;{TemplateBinding SnapsToDevicePixels}&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Border<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Grid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ControlTemplate.Triggers<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Trigger</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;IsEnabled&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;False&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;Foreground&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Trigger<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ControlTemplate.Triggers<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ControlTemplate<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Setter.Value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Setter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>    		  	
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Style<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>      
        <span style="color: #808080; font-style: italic;">&lt;!-- TabItem Style --&gt;</span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Style</span> <span style="color: #000066;">x:Key</span>=<span style="color: #ff0000;">&quot;TabItemOfficeStyle&quot;</span> <span style="color: #000066;">TargetType</span>=<span style="color: #ff0000;">&quot;{x:Type TabItem}&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;Foreground&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;Black&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;HorizontalContentAlignment&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;Stretch&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;VerticalContentAlignment&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;Stretch&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;Template&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter.Value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ControlTemplate</span> <span style="color: #000066;">TargetType</span>=<span style="color: #ff0000;">&quot;{x:Type TabItem}&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Grid</span> <span style="color: #000066;">SnapsToDevicePixels</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Border</span> <span style="color: #000066;">x:Name</span>=<span style="color: #ff0000;">&quot;Bd&quot;</span> <span style="color: #000066;">CornerRadius</span>=<span style="color: #ff0000;">&quot;5&quot;</span> <span style="color: #000066;">Padding</span>=<span style="color: #ff0000;">&quot;10,4&quot;</span> <span style="color: #000066;">Height</span>=<span style="color: #ff0000;">&quot;25&quot;</span> <span style="color: #000066;">Margin</span>=<span style="color: #ff0000;">&quot;0,1&quot;</span> <span style="color: #000066;">BorderThickness</span>=<span style="color: #ff0000;">&quot;1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       								<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ContentPresenter</span> <span style="color: #000066;">x:Name</span>=<span style="color: #ff0000;">&quot;Content&quot;</span> <span style="color: #000066;">ContentSource</span>=<span style="color: #ff0000;">&quot;Header&quot;</span> <span style="color: #000066;">HorizontalAlignment</span>=<span style="color: #ff0000;">&quot;Left&quot;</span> <span style="color: #000066;">RecognizesAccessKey</span>=<span style="color: #ff0000;">&quot;True&quot;</span> <span style="color: #000066;">SnapsToDevicePixels</span>=<span style="color: #ff0000;">&quot;{TemplateBinding SnapsToDevicePixels}&quot;</span> <span style="color: #000066;">VerticalAlignment</span>=<span style="color: #ff0000;">&quot;{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}&quot;</span> <span style="color: #000066;">TextBlock.FontSize</span>=<span style="color: #ff0000;">&quot;11&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Border<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Grid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ControlTemplate.Triggers<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Trigger</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;IsMouseOver&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;BorderBrush&quot;</span> <span style="color: #000066;">TargetName</span>=<span style="color: #ff0000;">&quot;Bd&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;#f7d84b&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
								<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;Background&quot;</span> <span style="color: #000066;">TargetName</span>=<span style="color: #ff0000;">&quot;Bd&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
									<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter.Value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
										<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;LinearGradientBrush</span> <span style="color: #000066;">StartPoint</span>=<span style="color: #ff0000;">&quot;0,0&quot;</span> <span style="color: #000066;">EndPoint</span>=<span style="color: #ff0000;">&quot;0,1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
											<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;GradientStop</span> <span style="color: #000066;">Color</span>=<span style="color: #ff0000;">&quot;#fdeeb3&quot;</span> <span style="color: #000066;">Offset</span>=<span style="color: #ff0000;">&quot;0.0&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
											<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;GradientStop</span> <span style="color: #000066;">Color</span>=<span style="color: #ff0000;">&quot;#fde48a&quot;</span> <span style="color: #000066;">Offset</span>=<span style="color: #ff0000;">&quot;0.5&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
											<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;GradientStop</span> <span style="color: #000066;">Color</span>=<span style="color: #ff0000;">&quot;#fdf8de&quot;</span> <span style="color: #000066;">Offset</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
										<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/LinearGradientBrush<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
									<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Setter.Value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
								<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Setter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Trigger<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Trigger</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;IsSelected&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;Background&quot;</span> <span style="color: #000066;">TargetName</span>=<span style="color: #ff0000;">&quot;Bd&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter.Value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	       								<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;LinearGradientBrush</span> <span style="color: #000066;">StartPoint</span>=<span style="color: #ff0000;">&quot;0,0&quot;</span> <span style="color: #000066;">EndPoint</span>=<span style="color: #ff0000;">&quot;0,1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        									<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;GradientStop</span> <span style="color: #000066;">Color</span>=<span style="color: #ff0000;">&quot;#ffe575&quot;</span> <span style="color: #000066;">Offset</span>=<span style="color: #ff0000;">&quot;0.0&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
											<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;GradientStop</span> <span style="color: #000066;">Color</span>=<span style="color: #ff0000;">&quot;#ffd96c&quot;</span> <span style="color: #000066;">Offset</span>=<span style="color: #ff0000;">&quot;0.5&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
											<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;GradientStop</span> <span style="color: #000066;">Color</span>=<span style="color: #ff0000;">&quot;#fff480&quot;</span> <span style="color: #000066;">Offset</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
										<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/LinearGradientBrush<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>						
									<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Setter.Value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>						
								<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Setter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
								<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">TargetName</span>=<span style="color: #ff0000;">&quot;Bd&quot;</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;BorderBrush&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
									<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter.Value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
										<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;LinearGradientBrush</span> <span style="color: #000066;">StartPoint</span>=<span style="color: #ff0000;">&quot;0,0&quot;</span> <span style="color: #000066;">EndPoint</span>=<span style="color: #ff0000;">&quot;0,1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
											<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;GradientStop</span> <span style="color: #000066;">Color</span>=<span style="color: #ff0000;">&quot;#C2762B&quot;</span> <span style="color: #000066;">Offset</span>=<span style="color: #ff0000;">&quot;0.0&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
											<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;GradientStop</span> <span style="color: #000066;">Color</span>=<span style="color: #ff0000;">&quot;#C29E47&quot;</span> <span style="color: #000066;">Offset</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
										<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/LinearGradientBrush<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
									<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Setter.Value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
								<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Setter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
								<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">TargetName</span>=<span style="color: #ff0000;">&quot;Bd&quot;</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;BorderThickness&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Trigger<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Trigger</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;IsEnabled&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;false&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Setter</span> <span style="color: #000066;">Property</span>=<span style="color: #ff0000;">&quot;Foreground&quot;</span> <span style="color: #000066;">Value</span>=<span style="color: #ff0000;">&quot;{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Trigger<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ControlTemplate.Triggers<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ControlTemplate<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Setter.Value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Setter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Style<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Window.Resources<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Grid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;TabControl</span> <span style="color: #000066;">Style</span>=<span style="color: #ff0000;">&quot;{DynamicResource TabControlOfficeStyle}&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;TabItem</span> <span style="color: #000066;">Header</span>=<span style="color: #ff0000;">&quot;Allgemein&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;TextBlock</span> <span style="color: #000066;">Text</span>=<span style="color: #ff0000;">&quot;Text&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/TabItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;TabItem</span> <span style="color: #000066;">Header</span>=<span style="color: #ff0000;">&quot;E-Mail&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;TextBlock</span> <span style="color: #000066;">Text</span>=<span style="color: #ff0000;">&quot;Text&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/TabItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;TabItem</span> <span style="color: #000066;">Header</span>=<span style="color: #ff0000;">&quot;Kalender&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;TextBlock</span> <span style="color: #000066;">Text</span>=<span style="color: #ff0000;">&quot;Text&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/TabItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;TabItem</span> <span style="color: #000066;">Header</span>=<span style="color: #ff0000;">&quot;Aufgaben&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;TextBlock</span> <span style="color: #000066;">Text</span>=<span style="color: #ff0000;">&quot;Text&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/TabItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;TabItem</span> <span style="color: #000066;">Header</span>=<span style="color: #ff0000;">&quot;Notizen und Journal&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;TextBlock</span> <span style="color: #000066;">Text</span>=<span style="color: #ff0000;">&quot;Text&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/TabItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/TabControl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Grid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Window<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Das Template lehnt sich nicht zu 100% an das Original an. Gerade bei den Verläufen gibt es einige kleinere Abweichungen. Auch ist das Template an sich nicht perfekt. Es wurden viele feste und statische Werte genommen, so dass es sich nur bedingt als allgemeines Control eigent. Gerade bei Größenangaben und Farbewerten könnte man hier viel mehr mit Bindung arbeiten.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/csharp/wpf-an-office-2010-angepasstes-tabcontrol-670.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server-Hilfsdienst für Netzwerke</title>
		<link>http://www.bauer-martin.com/windows/windows-server-hilfsdienst-fur-netzwerke-657.html</link>
		<comments>http://www.bauer-martin.com/windows/windows-server-hilfsdienst-fur-netzwerke-657.html#comments</comments>
		<pubDate>Fri, 23 Sep 2011 09:28:21 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[WHS]]></category>
		<category><![CDATA[Windows Home Server 2011]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=657</guid>
		<description><![CDATA[Seit ich meinen Windows Home Server 2011 angeschafft habe hatte ich das Problem, dass der Windows Server-Hilfsdienst für Netzwerke ständig nach rund 10 Minuten Laufzeit abgestürzt ist. Der Dienst lies sich dann problemlos neustarten, jedoch stürzte dann immer wieder schnell ab. Es gab zwar keine Probleme mit der Erreichbarkeit, etc. jedoch hatte ich immer in [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Seit ich meinen Windows Home Server 2011 angeschafft habe hatte ich das Problem, dass der Windows Server-Hilfsdienst für Netzwerke ständig nach rund 10 Minuten Laufzeit abgestürzt ist. Der Dienst lies sich dann problemlos neustarten, jedoch stürzte dann immer wieder schnell ab. Es gab zwar keine Probleme mit der Erreichbarkeit, etc. jedoch hatte ich immer in der Meldungsanzeige des Servers einen Fehler was unschön war.</p>
<p><img src="http://www.bauer-martin.com/wp-content/uploads/2011/07/meldung-300x189.png" alt="Windows Home Server Meldung" title="Windows Home Server Meldung" width="300" height="189" class="aligncenter size-medium wp-image-603" /></p>
<p>Im Ereignisprotokoll konnte ich einen .NET Runtime-Fehler sowie einen Application-Error finden der beim Absturz des Dienes ausgelöst wurde. Leider stand jedoch nichts in den Meldungen was mich zu einer Lösung führte. </p>
<p>Im offiziellen Windows Home Server Forum wurde nach längerer Zeit nun endlich eine Antwort auf meine <a href="http://social.microsoft.com/Forums/en-US/whs2011/thread/cd88914e-386a-473d-8537-56f44a6047f6/" target="_blank">Frage</a> gepostet welche das Problem löst.</p>
<p>Die Lösung ist ganz einfach. Im Verzeichnis &#8220;C:\ProgramData\Microsoft\Windows Server\Data\TME&#8221; in sämtlichen drei Unterordnern (Costs, Results, EngineState) alle Dateien löschen und danach den Dienst neu starten.</p>
<p>Nach dieser Aktion läuft der Dienst bisher problemlos ohne weiteren Absturz</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/windows/windows-server-hilfsdienst-fur-netzwerke-657.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>746GB Problem bei 3TB Festplatten lösen</title>
		<link>http://www.bauer-martin.com/windows/746gb-problem-bei-3tb-festplatten-loschen-651.html</link>
		<comments>http://www.bauer-martin.com/windows/746gb-problem-bei-3tb-festplatten-loschen-651.html#comments</comments>
		<pubDate>Tue, 13 Sep 2011 15:58:52 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[3TB]]></category>
		<category><![CDATA[746MB]]></category>
		<category><![CDATA[Intel Rapid Storage Technology]]></category>
		<category><![CDATA[Intel Sandy Bridge]]></category>
		<category><![CDATA[RST]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=651</guid>
		<description><![CDATA[Ich hab heute zwei neue 3TB Festplatten von WD bekommen. Als ich die erste an meinem HTPC zum formatieren angesteckt habe, musste ich feststellen dass dort nur 746MB erkannt werden. Ich dachte, diese sei einfach nur defekt und nahm die zweite. Jedoch waren bei dieser auch nur exakt 746GB erkannt worden, so dass ich eigentlich [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Ich hab heute zwei neue 3TB Festplatten von WD bekommen. Als ich die erste an meinem HTPC zum formatieren angesteckt habe, musste ich feststellen dass dort nur 746MB erkannt werden. Ich dachte, diese sei einfach nur defekt und nahm die zweite. Jedoch waren bei dieser auch nur exakt 746GB erkannt worden, so dass ich eigentlich einen defekt der HDD ausschließen konnte. Nachdem ich dann beide an einem anderem PC angesteckt habe, hatte ich dort die richtigen 2794GB Speicher. Das Problem musste also wo anders liegen.</p>
<p>Bei meiner Suche bin ich auf <a href="http://www.servethehome.com/fix-746gb-3tb-hard-drive-issue/" target="_blank">diesen</a> Blogeintrag gestoßen. Das Problem ist die Intel Rapid Storage Technology. Wenn diese noch in der Version kleiner als 10.1 installiert ist, werden nur die erwähnen 746GB erkannt. Ein Update auf die <a href="http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&#038;ProdId=3409&#038;DwnldID=20215&#038;keyword=RST&#038;lang=deu" target0"_blank">aktuelle Version (10.6)</a> löst das Problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/windows/746gb-problem-bei-3tb-festplatten-loschen-651.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

