<?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>Fri, 02 Dec 2011 13:02:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<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>
		<item>
		<title>IP-Adresse des Azure Compute Emulators ändern</title>
		<link>http://www.bauer-martin.com/csharp/ip-adresse-des-azure-compute-emulators-andern-646.html</link>
		<comments>http://www.bauer-martin.com/csharp/ip-adresse-des-azure-compute-emulators-andern-646.html#comments</comments>
		<pubDate>Tue, 13 Sep 2011 09:01:24 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Compute Emulator]]></category>
		<category><![CDATA[Port Forwarding]]></category>
		<category><![CDATA[Windows Azure]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=646</guid>
		<description><![CDATA[Der Azure Compute Emulator läuft standardmäßig nur auf 127.0.0.1. Wenn man jetzt von außerhalb seines lokalen Computers zugreifen will um Tests, etc. zu fahren funktioniert dies leider nicht. Die einzige Anleitung die ich gefunden hab in welcher erklärt wird, wie man die IP-Adresse des Emulators ändert findet man im SyntaxC4 Blog. Leider funktioniert diese nicht [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Der Azure Compute Emulator läuft standardmäßig nur auf 127.0.0.1. Wenn man jetzt von außerhalb seines lokalen Computers zugreifen will um Tests, etc. zu fahren funktioniert dies leider nicht. Die einzige Anleitung die ich gefunden hab in welcher erklärt wird, wie man die IP-Adresse des Emulators ändert findet man im <a href="http://blog.syntaxc4.net/post/2011/01/06/Changing-the-Windows-Azure-Compute-Emulator-IP-Address.aspx" target="_blank">SyntaxC4 Blog</a>. Leider funktioniert diese nicht wirklich bei mir. Das Projekt lässt sich dann nicht mehr starten.</p>
<p>Als Alternative hab ich nun das <a href="http://www.quantumg.net/portforward.php" target="_blank">Port Forwarding Tool von QuantumQ</a> heruntergeladen. Damit leide ich nun einfach die entsprechenden Ports auf die lokale IP-Adresse und Port des Emulators um. Ist nicht umbedingt die sauberste und schönste Lösung aber funktioniert ganz gut.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/csharp/ip-adresse-des-azure-compute-emulators-andern-646.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight und RichTextBox: XAML Export Problem</title>
		<link>http://www.bauer-martin.com/csharp/silverlight-und-richtextbox-xaml-export-problem-638.html</link>
		<comments>http://www.bauer-martin.com/csharp/silverlight-und-richtextbox-xaml-export-problem-638.html#comments</comments>
		<pubDate>Thu, 25 Aug 2011 12:47:03 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[RichTextBox]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Xaml]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=638</guid>
		<description><![CDATA[In einer RichTextBox kann mehr als nur Text stehen. So kann man z. B. auch ganz einfach Bilder oder andere beliebige UIElemente einfügen. Möchte man dann aber den Inhalt der RichTextBox speichern, wird man schnell festellen, dass das Xaml-Property der Box diese Elemente nicht beinhaltet. Es liefert nur ein leeres Run-Element an dieser Stelle. Andrew [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>In einer RichTextBox kann mehr als nur Text stehen. So kann man z. B. auch ganz einfach Bilder oder andere beliebige UIElemente einfügen. Möchte man dann aber den Inhalt der RichTextBox speichern, wird man schnell festellen, dass das Xaml-Property der Box diese Elemente nicht beinhaltet. Es liefert nur ein leeres Run-Element an dieser Stelle.</p>
<p>Andrew Cardy hat in <a href="http://andrew-cardy.blogspot.com/2010/12/during-developement-of-our-image.html" target="_blank">diesem Blog-Eintrag</a> eine gute Möglichkeit zum Export des XAML-Codes gepostet. Das einzige was mir an dieser Methode nicht so gut gefällt ist, dass ein String zusammengebaut wird und kein richtiges XML-Dokument. Dies hat den Nachteil, wenn in der RichTextBox z. B. Anführungszeichen (&#8220;) stehen, dass der XML-Code nicht mehr valide ist. Auch sonst können einige Zeichen zu Problemen führen.</p>
<p>Daher habe ich die Klasse von Andrew Cardy genommen und insoweit umgebaut, dass ein XDocument statt eines Strings zusammengebaut wird. Der C# Code schaut dann folgendermaßen aus:<br />
<span id="more-638"></span></p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">class</span> RichTextBoxExporter
<span style="color: #008000;">&#123;</span>
	<span style="color: #008080; font-style: italic;">// These are the attributes which are sutible for exporting. We don't want to go crazy and start exporting content starts and stops and text pointers.</span>
	<span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #0600FF; font-weight: bold;">readonly</span> List<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">String</span><span style="color: #008000;">&gt;</span> _acceptableAttributes<span style="color: #008000;">;</span>
&nbsp;
	<span style="color: #008080; font-style: italic;">/// &lt;summary&gt;</span>
	<span style="color: #008080; font-style: italic;">/// Creates an instance of the exporter with default acceptable attributes</span>
	<span style="color: #008080; font-style: italic;">/// &lt;/summary&gt;</span>
	<span style="color: #0600FF; font-weight: bold;">public</span> RichTextBoxExporter<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>
		_acceptableAttributes <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> List<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">String</span><span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span><span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">&#123;</span> <span style="color: #666666;">&quot;Inlines&quot;</span>, <span style="color: #666666;">&quot;FontFamily&quot;</span>, <span style="color: #666666;">&quot;FontSize&quot;</span>, <span style="color: #666666;">&quot;FontStretch&quot;</span>, <span style="color: #666666;">&quot;FontStyle&quot;</span>, <span style="color: #666666;">&quot;FontStyle&quot;</span>, <span style="color: #666666;">&quot;FontWeight&quot;</span>, <span style="color: #666666;">&quot;Foreground&quot;</span>, <span style="color: #666666;">&quot;TextAlignment&quot;</span>, <span style="color: #666666;">&quot;TextDecorations&quot;</span>, <span style="color: #666666;">&quot;Text&quot;</span>, <span style="color: #666666;">&quot;TargetName&quot;</span>, <span style="color: #666666;">&quot;NavigateUri&quot;</span> <span style="color: #008000;">&#125;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
	<span style="color: #008000;">&#125;</span>
&nbsp;
	<span style="color: #008080; font-style: italic;">/// &lt;summary&gt;</span>
	<span style="color: #008080; font-style: italic;">/// Convenience Constructor for setting attributes which are acceptable for export</span>
	<span style="color: #008080; font-style: italic;">/// &lt;/summary&gt;</span>
	<span style="color: #008080; font-style: italic;">/// &lt;param name=&quot;acceptableAttributes&quot;&gt;&lt;/param&gt;</span>
	<span style="color: #0600FF; font-weight: bold;">public</span> RichTextBoxExporter<span style="color: #008000;">&#40;</span>IEnumerable<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;</span> acceptableAttributes<span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>
		_acceptableAttributes <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> List<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">String</span><span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span>acceptableAttributes<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
	<span style="color: #008000;">&#125;</span>
&nbsp;
	<span style="color: #008080; font-style: italic;">/// &lt;summary&gt;</span>
	<span style="color: #008080; font-style: italic;">/// Exports the XAML from a rich text box, including Images</span>
	<span style="color: #008080; font-style: italic;">/// &lt;/summary&gt;</span>
	<span style="color: #008080; font-style: italic;">/// &lt;param name=&quot;rtb&quot;&gt;The RichTextBox to export from&lt;/param&gt;</span>
	<span style="color: #008080; font-style: italic;">/// &lt;returns&gt;The XAML exported from the RichTextBox&lt;/returns&gt;</span>
	<span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">string</span> Export<span style="color: #008000;">&#40;</span>RichTextBox rtb<span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>
		var xml <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> XDocument<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
		var section <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> XElement<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Section&quot;</span>, <span style="color: #008000;">new</span> XAttribute<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;HasTrailingParagraphBreakOnPaste&quot;</span>, <span style="color: #666666;">&quot;False&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
		xml<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span>section<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
		<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>xml<span style="color: #008000;">.</span><span style="color: #0000FF;">Root</span> <span style="color: #008000;">!=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			XNamespace <span style="color: #008080;">xmlns </span><span style="color: #008000;">=</span> <span style="color: #666666;">&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</span><span style="color: #008000;">;</span>
			xml<span style="color: #008000;">.</span><span style="color: #0000FF;">Root</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Name</span> <span style="color: #008000;">=</span> xmlns <span style="color: #008000;">+</span> xml<span style="color: #008000;">.</span><span style="color: #0000FF;">Root</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Name</span><span style="color: #008000;">.</span><span style="color: #0000FF;">LocalName</span><span style="color: #008000;">;</span>
		<span style="color: #008000;">&#125;</span>
&nbsp;
		<span style="color: #0600FF; font-weight: bold;">foreach</span> <span style="color: #008000;">&#40;</span>Block b <span style="color: #0600FF; font-weight: bold;">in</span> rtb<span style="color: #008000;">.</span><span style="color: #0000FF;">Blocks</span><span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			<span style="color: #008080; font-style: italic;">// Look at each block. They should either be a section or paragraph.</span>
			<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>b <span style="color: #008000;">is</span> Paragraph<span style="color: #008000;">&#41;</span>
			<span style="color: #008000;">&#123;</span>
				var p <span style="color: #008000;">=</span> b <span style="color: #0600FF; font-weight: bold;">as</span> Paragraph<span style="color: #008000;">;</span>
				WriteElement<span style="color: #008000;">&#40;</span>section, p<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
			<span style="color: #008000;">&#125;</span>
		<span style="color: #008000;">&#125;</span>
&nbsp;
		<span style="color: #008080; font-style: italic;">// get xml string and remove empty namespace</span>
		var xmlString <span style="color: #008000;">=</span> xml<span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
		xmlString <span style="color: #008000;">=</span> xmlString<span style="color: #008000;">.</span><span style="color: #0000FF;">Replace</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;xmlns=<span style="color: #008080; font-weight: bold;">\&quot;</span><span style="color: #008080; font-weight: bold;">\&quot;</span>&quot;</span>, <span style="color: #666666;">&quot;&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
		<span style="color: #0600FF; font-weight: bold;">return</span> xmlString<span style="color: #008000;">;</span>
	<span style="color: #008000;">&#125;</span>
&nbsp;
	<span style="color: #008080; font-style: italic;">/// &lt;summary&gt;</span>
	<span style="color: #008080; font-style: italic;">/// Write Element</span>
	<span style="color: #008080; font-style: italic;">/// &lt;/summary&gt;</span>
	<span style="color: #008080; font-style: italic;">/// &lt;param name=&quot;e&quot;&gt;&lt;/param&gt;</span>
	<span style="color: #008080; font-style: italic;">/// &lt;param name=&quot;i&quot;&gt;&lt;/param&gt;</span>
	<span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">void</span> WriteElement<span style="color: #008000;">&#40;</span>XElement e, TextElement i<span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>
		<span style="color: #008080; font-style: italic;">// Incase the control has any inlines (i.e. hyperlink)</span>
		InlineCollection inlines <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">;</span>
&nbsp;
		Type type <span style="color: #008000;">=</span> i<span style="color: #008000;">.</span><span style="color: #0000FF;">GetType</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
		var item <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> XElement<span style="color: #008000;">&#40;</span>type<span style="color: #008000;">.</span><span style="color: #0000FF;">Name</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
		e<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span>item<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
		<span style="color: #0600FF; font-weight: bold;">foreach</span> <span style="color: #008000;">&#40;</span>PropertyInfo pi <span style="color: #0600FF; font-weight: bold;">in</span> type<span style="color: #008000;">.</span><span style="color: #0000FF;">GetProperties</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			<span style="color: #008080; font-style: italic;">// Check if the property name is one of the ones we want</span>
			<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>_acceptableAttributes<span style="color: #008000;">.</span><span style="color: #0000FF;">Contains</span><span style="color: #008000;">&#40;</span>pi<span style="color: #008000;">.</span><span style="color: #0000FF;">Name</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span>
			<span style="color: #008000;">&#123;</span>
				<span style="color: #008080; font-style: italic;">// Check if its readable and isn't null</span>
				<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>pi<span style="color: #008000;">.</span><span style="color: #0000FF;">CanRead</span> <span style="color: #008000;">&amp;&amp;</span> pi<span style="color: #008000;">.</span><span style="color: #0000FF;">GetValue</span><span style="color: #008000;">&#40;</span>i, <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">!=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span>
				<span style="color: #008000;">&#123;</span>
					<span style="color: #008080; font-style: italic;">// Get the value object and asset its something we're expecting</span>
					<span style="color: #6666cc; font-weight: bold;">object</span> valueObj <span style="color: #008000;">=</span> pi<span style="color: #008000;">.</span><span style="color: #0000FF;">GetValue</span><span style="color: #008000;">&#40;</span>i, <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
					<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>valueObj <span style="color: #008000;">is</span> InlineCollection<span style="color: #008000;">&#41;</span>
					<span style="color: #008000;">&#123;</span>
						<span style="color: #008080; font-style: italic;">// If we have an inline collection, it means we have children, congrats!</span>
						inlines <span style="color: #008000;">=</span> valueObj <span style="color: #0600FF; font-weight: bold;">as</span> InlineCollection<span style="color: #008000;">;</span>
					<span style="color: #008000;">&#125;</span>
					<span style="color: #0600FF; font-weight: bold;">else</span>
					<span style="color: #008000;">&#123;</span>
						<span style="color: #008080; font-style: italic;">// Check if this element has inlines (hyperlink), if so we need to add them </span>
						<span style="color: #6666cc; font-weight: bold;">string</span> value <span style="color: #008000;">=</span> ParsePropertyValue<span style="color: #008000;">&#40;</span>valueObj<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
						<span style="color: #008080; font-style: italic;">// Append the property to the string builder</span>
						item<span style="color: #008000;">.</span><span style="color: #0000FF;">SetAttributeValue</span><span style="color: #008000;">&#40;</span>pi<span style="color: #008000;">.</span><span style="color: #0000FF;">Name</span>, value<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
					<span style="color: #008000;">&#125;</span>
				<span style="color: #008000;">&#125;</span>
			<span style="color: #008000;">&#125;</span>
		<span style="color: #008000;">&#125;</span>
&nbsp;
		<span style="color: #008080; font-style: italic;">// Check if we have child inlines</span>
		<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>inlines <span style="color: #008000;">!=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			<span style="color: #0600FF; font-weight: bold;">foreach</span> <span style="color: #008000;">&#40;</span>Inline inline <span style="color: #0600FF; font-weight: bold;">in</span> inlines<span style="color: #008000;">&#41;</span>
			<span style="color: #008000;">&#123;</span>
				<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>inline <span style="color: #008000;">is</span> InlineUIContainer<span style="color: #008000;">&#41;</span>
				<span style="color: #008000;">&#123;</span>
					<span style="color: #008080; font-style: italic;">// We need to look at these seperately as they have different requriements</span>
					var inlineContainer <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span>InlineUIContainer<span style="color: #008000;">&#41;</span>inline<span style="color: #008000;">;</span>
					ParseInlineContainer<span style="color: #008000;">&#40;</span>item, inlineContainer<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
				<span style="color: #008000;">&#125;</span>
				<span style="color: #0600FF; font-weight: bold;">else</span>
				<span style="color: #008000;">&#123;</span>
					<span style="color: #008080; font-style: italic;">// If its not an InlineUIContainer, our write element method will help!</span>
					WriteElement<span style="color: #008000;">&#40;</span>item, inline<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
				<span style="color: #008000;">&#125;</span>
			<span style="color: #008000;">&#125;</span>
		<span style="color: #008000;">&#125;</span>
	<span style="color: #008000;">&#125;</span>
&nbsp;
	<span style="color: #008080; font-style: italic;">/// &lt;summary&gt;</span>
	<span style="color: #008080; font-style: italic;">/// Parse PRoperty Value</span>
	<span style="color: #008080; font-style: italic;">/// &lt;/summary&gt;</span>
	<span style="color: #008080; font-style: italic;">/// &lt;param name=&quot;valueObj&quot;&gt;&lt;/param&gt;</span>
	<span style="color: #008080; font-style: italic;">/// &lt;returns&gt;&lt;/returns&gt;</span>
	<span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">string</span> ParsePropertyValue<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">object</span> valueObj<span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>
		<span style="color: #6666cc; font-weight: bold;">string</span> value<span style="color: #008000;">;</span>
&nbsp;
		<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>valueObj <span style="color: #008000;">is</span> SolidColorBrush<span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			<span style="color: #008080; font-style: italic;">// If the value is a colour brush, use color value</span>
			var brush <span style="color: #008000;">=</span> valueObj <span style="color: #0600FF; font-weight: bold;">as</span> SolidColorBrush<span style="color: #008000;">;</span>
			value <span style="color: #008000;">=</span> brush<span style="color: #008000;">.</span><span style="color: #0000FF;">Color</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
		<span style="color: #008000;">&#125;</span>
		<span style="color: #0600FF; font-weight: bold;">else</span> <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>valueObj <span style="color: #008000;">is</span> TextDecorationCollection<span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			<span style="color: #008080; font-style: italic;">// There is only every one text decoration for silverlight, underline.</span>
			<span style="color: #008080; font-style: italic;">// See remarks here: http://msdn.microsoft.com/en-us/library/ms603219(v=VS.95).aspx</span>
			value <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Underline&quot;</span><span style="color: #008000;">;</span>
		<span style="color: #008000;">&#125;</span>
		<span style="color: #0600FF; font-weight: bold;">else</span>
		<span style="color: #008000;">&#123;</span>
			value <span style="color: #008000;">=</span> valueObj<span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
		<span style="color: #008000;">&#125;</span>
&nbsp;
		<span style="color: #0600FF; font-weight: bold;">return</span> value<span style="color: #008000;">;</span>
	<span style="color: #008000;">&#125;</span>
&nbsp;
	<span style="color: #008080; font-style: italic;">/// &lt;summary&gt;</span>
	<span style="color: #008080; font-style: italic;">/// Parse Inline Container (for images, etc.)</span>
	<span style="color: #008080; font-style: italic;">/// &lt;/summary&gt;</span>
	<span style="color: #008080; font-style: italic;">/// &lt;param name=&quot;e&quot;&gt;&lt;/param&gt;</span>
	<span style="color: #008080; font-style: italic;">/// &lt;param name=&quot;inlineContainer&quot;&gt;&lt;/param&gt;</span>
	<span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">void</span> ParseInlineContainer<span style="color: #008000;">&#40;</span>XElement e, InlineUIContainer inlineContainer<span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>
		<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>inlineContainer<span style="color: #008000;">.</span><span style="color: #0000FF;">Child</span> <span style="color: #008000;">is</span> Image<span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			var container <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> XElement<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;InlineUIContainer&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
			e<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span>container<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
			<span style="color: #008080; font-style: italic;">// If you want to be able to export other UIElements, this is where you handle them!</span>
			var image <span style="color: #008000;">=</span> inlineContainer<span style="color: #008000;">.</span><span style="color: #0000FF;">Child</span> <span style="color: #0600FF; font-weight: bold;">as</span> Image<span style="color: #008000;">;</span>
			<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>image<span style="color: #008000;">.</span><span style="color: #0000FF;">Source</span> <span style="color: #008000;">is</span> BitmapImage<span style="color: #008000;">&#41;</span>
			<span style="color: #008000;">&#123;</span>
				var bm <span style="color: #008000;">=</span> image<span style="color: #008000;">.</span><span style="color: #0000FF;">Source</span> <span style="color: #0600FF; font-weight: bold;">as</span> BitmapImage<span style="color: #008000;">;</span>
				<span style="color: #6666cc; font-weight: bold;">string</span> uri <span style="color: #008000;">=</span> bm<span style="color: #008000;">.</span><span style="color: #0000FF;">UriSource</span><span style="color: #008000;">.</span><span style="color: #0000FF;">IsAbsoluteUri</span> <span style="color: #008000;">?</span> bm<span style="color: #008000;">.</span><span style="color: #0000FF;">UriSource</span><span style="color: #008000;">.</span><span style="color: #0000FF;">AbsoluteUri</span> <span style="color: #008000;">:</span> bm<span style="color: #008000;">.</span><span style="color: #0000FF;">UriSource</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
				container<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> XElement<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Image&quot;</span>, <span style="color: #008000;">new</span> XAttribute<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Source&quot;</span>, uri<span style="color: #008000;">&#41;</span>, <span style="color: #008000;">new</span> XAttribute<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Height&quot;</span>, image<span style="color: #008000;">.</span><span style="color: #0000FF;">Height</span><span style="color: #008000;">&#41;</span>, <span style="color: #008000;">new</span> XAttribute<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Width&quot;</span>, image<span style="color: #008000;">.</span><span style="color: #0000FF;">Width</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
			<span style="color: #008000;">&#125;</span>
		<span style="color: #008000;">&#125;</span>
	<span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

<p><b>Link:</b> <a href="http://andrew-cardy.blogspot.com/2010/12/during-developement-of-our-image.html" target="_blank">Original-Posting von Andrew Cardy</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/csharp/silverlight-und-richtextbox-xaml-export-problem-638.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Silverlight und RichTextBox: Paragraph beim einfügen eines kopierten Textes statt \r\n</title>
		<link>http://www.bauer-martin.com/csharp/silverlight-und-richtextbox-paragraph-beim-einfugen-eines-kopierten-textes-statt-rn-628.html</link>
		<comments>http://www.bauer-martin.com/csharp/silverlight-und-richtextbox-paragraph-beim-einfugen-eines-kopierten-textes-statt-rn-628.html#comments</comments>
		<pubDate>Thu, 25 Aug 2011 12:06:49 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Linebreak]]></category>
		<category><![CDATA[Paragraph]]></category>
		<category><![CDATA[RichtTextBox]]></category>
		<category><![CDATA[Silveright]]></category>
		<category><![CDATA[Xaml]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=628</guid>
		<description><![CDATA[Die Silverlight RichTextBox ermöglicht es eine TextBox zur Verfügung zu stellen, mittels welcher Benutzer einfach Ihre Texte formatieren können. Dabei werden die wichtigsten Aufgaben direkt vom Control erledigt und man selber muss sich um so gut wie nichts selber kümmern. Ein Problem gibt es jedoch beim einfügen von Text. Hierbei werden neue Zeile als \r\n [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Die Silverlight RichTextBox ermöglicht es eine TextBox zur Verfügung zu stellen, mittels welcher Benutzer einfach Ihre Texte formatieren können. Dabei werden die wichtigsten Aufgaben direkt vom Control erledigt und man selber muss sich um so gut wie nichts selber kümmern. Ein Problem gibt es jedoch beim einfügen von Text. Hierbei werden neue Zeile als \r\n eingefügt und nicht als separates Paragraph oder Linebreak Element. Dies hat den Nachteil, dass beim Export des Xaml-Codes diese verloren gehen. Um dieses Problem zu lösen, muss man sich selber um das einfügen in das Control kümmern.</p>
<p>Dabei holt man den einzufügenden Text aus dem Clipboard, trennt ihn anhand der Enviroment.NewLine Variable und erzeugt ein XAML XML-Dokument welches man an Selection.Xaml übergibt. Die funktion zum einfügen könnte dann z. B. so ausschauen:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">void</span> Paste<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
	<span style="color: #008080; font-style: italic;">// split paste text</span>
	var pasteText <span style="color: #008000;">=</span> Clipboard<span style="color: #008000;">.</span><span style="color: #0000FF;">GetText</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
	var parts <span style="color: #008000;">=</span> pasteText<span style="color: #008000;">.</span><span style="color: #0000FF;">Split</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span><span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">&#123;</span>Environment<span style="color: #008000;">.</span><span style="color: #0000FF;">NewLine</span><span style="color: #008000;">&#125;</span>, StringSplitOptions<span style="color: #008000;">.</span><span style="color: #0000FF;">None</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
	<span style="color: #008080; font-style: italic;">// default Namespace</span>
	XNamespace <span style="color: #008080;">xmlns </span><span style="color: #008000;">=</span> <span style="color: #666666;">&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</span><span style="color: #008000;">;</span>
	<span style="color: #008080; font-style: italic;">// Build Xml</span>
	var xml <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> XDocument<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
	var section <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> XElement<span style="color: #008000;">&#40;</span>xmlns <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;Section&quot;</span>, <span style="color: #008000;">new</span> XAttribute<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;HasTrailingParagraphBreakOnPaste&quot;</span>, <span style="color: #666666;">&quot;False&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
	xml<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span>section<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
	<span style="color: #008080; font-style: italic;">// add paragraphs</span>
	<span style="color: #0600FF; font-weight: bold;">foreach</span> <span style="color: #008000;">&#40;</span>var part <span style="color: #0600FF; font-weight: bold;">in</span> parts<span style="color: #008000;">&#41;</span>
		section<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> XElement<span style="color: #008000;">&#40;</span>xmlns <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;Paragraph&quot;</span>, <span style="color: #008000;">new</span> XElement<span style="color: #008000;">&#40;</span>xmlns <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;Run&quot;</span>, <span style="color: #008000;">new</span> XAttribute<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Text&quot;</span>, part<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
	<span style="color: #008080; font-style: italic;">// insert text</span>
	Selection<span style="color: #008000;">.</span><span style="color: #0000FF;">Xaml</span> <span style="color: #008000;">=</span> xml<span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

<p>Alternativ kann man natürlich auch nur ein Paragraph-Element hinzufügen und die Zeilenumbrüche per Linebreak behandeln. Das sollte jeder selber nach Anwendungsgebiet entscheiden. Theoretisch ist es auch problemlos möglich, einen doppelten Umbrauch als Paragraph, und einen einzelnen als Linebreak zu konvertieren. Damit hätte man auch den HTML-Standard mit p und br umgesetzt.</p>
<p>Da es neben dem einfügen über einen Button, etc. ja auch noch die Tastenkombination [Strg] + [V] gibt, muss man in der RichTextBox-Klasse die OnKeyDown-Methode überschreiben, die Kombination abfangen und dann die eigene Methode aufrufen.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">protected</span> <span style="color: #0600FF; font-weight: bold;">override</span> <span style="color: #6666cc; font-weight: bold;">void</span> OnKeyDown<span style="color: #008000;">&#40;</span>KeyEventArgs e<span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
	<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>e<span style="color: #008000;">.</span><span style="color: #0000FF;">Key</span> <span style="color: #008000;">==</span> Key<span style="color: #008000;">.</span><span style="color: #0000FF;">V</span> <span style="color: #008000;">&amp;&amp;</span> <span style="color: #008000;">&#40;</span>Keyboard<span style="color: #008000;">.</span><span style="color: #0000FF;">Modifiers</span> <span style="color: #008000;">&amp;</span> ModifierKeys<span style="color: #008000;">.</span><span style="color: #0000FF;">Control</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">==</span> ModifierKeys<span style="color: #008000;">.</span><span style="color: #0000FF;">Control</span><span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>
		Paste<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
		<span style="color: #008080; font-style: italic;">// set handled</span>
		e<span style="color: #008000;">.</span><span style="color: #0000FF;">Handled</span> <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">;</span>
	<span style="color: #008000;">&#125;</span>
&nbsp;
	<span style="color: #008080; font-style: italic;">// base method</span>
	<span style="color: #0600FF; font-weight: bold;">base</span><span style="color: #008000;">.</span><span style="color: #0000FF;">OnKeyDown</span><span style="color: #008000;">&#40;</span>e<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/csharp/silverlight-und-richtextbox-paragraph-beim-einfugen-eines-kopierten-textes-statt-rn-628.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2010 und Microsoft Touchmouse</title>
		<link>http://www.bauer-martin.com/windows/visual-studio-2010-und-microsoft-touch-mouse-616.html</link>
		<comments>http://www.bauer-martin.com/windows/visual-studio-2010-und-microsoft-touch-mouse-616.html#comments</comments>
		<pubDate>Thu, 18 Aug 2011 09:31:53 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[IntelliPoint]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Touchmouse]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=616</guid>
		<description><![CDATA[Wer die neue Microsoft Touchmouse verwendet wird feststellen, dass das Scrolling in Visual Studio 2010 nicht funktioniert, wenn dieses als Administrator gestartet wurde (ist z. B. bei der Entwicklung von Windows Azure notwendig). Schuld daran ist das IntelliPoint Programm, welche die Gesten in Mouse-Befehle übersetzt. Da dieses mit normalen Berechtigungen gestartet wurde, darf es keine [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Wer die neue Microsoft Touchmouse verwendet wird feststellen, dass das Scrolling in Visual Studio 2010 nicht funktioniert, wenn dieses als Administrator gestartet wurde (ist z. B. bei der Entwicklung von Windows Azure notwendig). Schuld daran ist das IntelliPoint Programm, welche die Gesten in Mouse-Befehle übersetzt. Da dieses mit normalen Berechtigungen gestartet wurde, darf es keine Nachrichten an Prozesse mit höheren Berechtigungen schicken. Von daher ist ein kleiner manueller Eingriff nötig:</p>
<ul>
<li>ipoint.exe über den Taskmanager beenden</li>
<li>ipoint.exe über das Startmenü suchen</li>
<li>ipoint.exe mit Administratorrechten neu starten</li>
</ul>
<p>Anschließend sollte die Maus einwandfrei auch unter Visual Studio funktionieren. Sollte jemand einen Tipp haben wie man das automatisiert, nur her damit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/windows/visual-studio-2010-und-microsoft-touch-mouse-616.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>T-Home Entertain mit Windows Media Center: Neue Senderliste</title>
		<link>http://www.bauer-martin.com/windows/t-home-entertain-mit-windows-media-center-neue-senderliste-610.html</link>
		<comments>http://www.bauer-martin.com/windows/t-home-entertain-mit-windows-media-center-neue-senderliste-610.html#comments</comments>
		<pubDate>Sun, 14 Aug 2011 15:39:57 +0000</pubDate>
		<dc:creator>Martin Bauer</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Entertain]]></category>
		<category><![CDATA[IPTV]]></category>
		<category><![CDATA[Senderliste]]></category>
		<category><![CDATA[T-Home Entertain]]></category>
		<category><![CDATA[Windows Media Center]]></category>

		<guid isPermaLink="false">http://www.bauer-martin.com/?p=610</guid>
		<description><![CDATA[In diesem Beitrag habe ich beschrieben, wie man an seinem HTPC zumindest die öffentlich rechtlichen Fernsehsender über Enteratin von T-Home anschauen kann. Seit kurzem gibt es neue IP-Adressen für die meisten Sender. Daher hab ich die Senderlist aktualisiert und biete diese hier zum download an. Download: Senderliste Stand 14.08.2011 Sollte sich ein Fehler eingeschlichten haben, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>In <a href="http://www.bauer-martin.com/windows/t-home-entertain-mit-windows-media-center-374.html">diesem Beitrag</a> habe ich beschrieben, wie man an seinem HTPC zumindest die öffentlich rechtlichen Fernsehsender über Enteratin von T-Home anschauen kann. Seit kurzem gibt es neue IP-Adressen für die meisten Sender. Daher hab ich die Senderlist aktualisiert und biete diese hier zum download an.</p>
<p><b>Download:</b> <a href="http://www.bauer-martin.com/wp-content/uploads/2011/08/senderliste-14082011.m3u">Senderliste Stand 14.08.2011</a></p>
<p>Sollte sich ein Fehler eingeschlichten haben, bitte kurz in den Kommentaren bescheid geben. Vielen Dank!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bauer-martin.com/windows/t-home-entertain-mit-windows-media-center-neue-senderliste-610.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
<enclosure url="http://www.bauer-martin.com/wp-content/uploads/2011/08/senderliste-14082011.m3u" length="1929" type="audio/x-mpegurl" />
		</item>
	</channel>
</rss>

