| 
														
															@@ -12,9 +12,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <Setter Property="FontSize" Value="18"/> 
														 | 
														
														 | 
														
															       <Setter Property="FontSize" Value="18"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </Style> 
														 | 
														
														 | 
														
															     </Style> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </Window.Styles> 
														 | 
														
														 | 
														
															   </Window.Styles> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  <Window.Resources> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    <vm:TestItem x:Key="SharedItem" StringValue="shared" /> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  </Window.Resources> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															    
														 | 
														
														 | 
														
															    
														 | 
													
												
											
												
													
														| 
														 | 
														
															   <TabControl> 
														 | 
														
														 | 
														
															   <TabControl> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <TabItem Header="Basic"> 
														 | 
														
														 | 
														
															     <TabItem Header="Basic"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -54,9 +51,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <TextBox Watermark="Value of first TextBox" UseFloatingWatermark="True"  
														 | 
														
														 | 
														
															             <TextBox Watermark="Value of first TextBox" UseFloatingWatermark="True"  
														 | 
													
												
											
												
													
														| 
														 | 
														
															                      Text="{Binding #first.Text, Mode=TwoWay}"/> 
														 | 
														
														 | 
														
															                      Text="{Binding #first.Text, Mode=TwoWay}"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <TextBox Watermark="Value of SharedItem.StringValue" UseFloatingWatermark="True" 
														 | 
														
														 | 
														
															             <TextBox Watermark="Value of SharedItem.StringValue" UseFloatingWatermark="True" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                     Text="{Binding StringValue, Source={StaticResource SharedItem}, Mode=TwoWay}"/> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                     Text="{Binding StringValue, Source={StaticResource SharedItem}, Mode=TwoWay, DataType=vm:MainWindowViewModel+TestItem}"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <TextBox Watermark="Value of SharedItem.StringValue (duplicate)" UseFloatingWatermark="True" 
														 | 
														
														 | 
														
															             <TextBox Watermark="Value of SharedItem.StringValue (duplicate)" UseFloatingWatermark="True" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                     Text="{Binding StringValue, Source={StaticResource SharedItem}, Mode=TwoWay}"/> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                     Text="{Binding StringValue, Source={StaticResource SharedItem}, Mode=TwoWay, DataType=vm:MainWindowViewModel+TestItem}"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           </StackPanel> 
														 | 
														
														 | 
														
															           </StackPanel> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <StackPanel Margin="18" Spacing="4" Width="200" HorizontalAlignment="Left"> 
														 | 
														
														 | 
														
															           <StackPanel Margin="18" Spacing="4" Width="200" HorizontalAlignment="Left"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <TextBlock FontSize="16" Text="Scheduler"/> 
														 | 
														
														 | 
														
															             <TextBlock FontSize="16" Text="Scheduler"/> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -70,7 +67,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <TabItem Header="ListBox"> 
														 | 
														
														 | 
														
															     <TabItem Header="ListBox"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <StackPanel Orientation="Horizontal"> 
														 | 
														
														 | 
														
															       <StackPanel Orientation="Horizontal"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <StackPanel.DataTemplates> 
														 | 
														
														 | 
														
															         <StackPanel.DataTemplates> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          <DataTemplate DataType="vm:TestItem"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <DataTemplate DataType="vm:MainWindowViewModel+TestItem"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <TextBlock Text="{Binding StringValue}"/> 
														 | 
														
														 | 
														
															             <TextBlock Text="{Binding StringValue}"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           </DataTemplate> 
														 | 
														
														 | 
														
															           </DataTemplate> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </StackPanel.DataTemplates> 
														 | 
														
														 | 
														
															         </StackPanel.DataTemplates> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -84,7 +81,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </StackPanel> 
														 | 
														
														 | 
														
															         </StackPanel> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <ContentControl Content="{ReflectionBinding Selection.SelectedItems[0]}"> 
														 | 
														
														 | 
														
															         <ContentControl Content="{ReflectionBinding Selection.SelectedItems[0]}"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <ContentControl.DataTemplates> 
														 | 
														
														 | 
														
															           <ContentControl.DataTemplates> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            <DataTemplate DataType="vm:TestItem"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <DataTemplate DataType="vm:MainWindowViewModel+TestItem"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <local:TestItemView></local:TestItemView> 
														 | 
														
														 | 
														
															               <local:TestItemView></local:TestItemView> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </DataTemplate> 
														 | 
														
														 | 
														
															             </DataTemplate> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           </ContentControl.DataTemplates> 
														 | 
														
														 | 
														
															           </ContentControl.DataTemplates> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -126,7 +123,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </TabItem.Resources> 
														 | 
														
														 | 
														
															       </TabItem.Resources> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <StackPanel> 
														 | 
														
														 | 
														
															       <StackPanel> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <!-- Tests for #10856  --> 
														 | 
														
														 | 
														
															         <!-- Tests for #10856  --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        <TextBlock Text="{local:GenericMarkupExtension, Value=Red, x:TypeArguments=Color}"/> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <TextBlock Text="{local:GenericMarkupExtension Value=Red, x:TypeArguments=Color}"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <TextBlock HorizontalAlignment="Left" 
														 | 
														
														 | 
														
															         <TextBlock HorizontalAlignment="Left" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                    Text="{Binding $self.Background, Converter={StaticResource BrushConverter}}"> 
														 | 
														
														 | 
														
															                    Text="{Binding $self.Background, Converter={StaticResource BrushConverter}}"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <TextBlock.Background> 
														 | 
														
														 | 
														
															           <TextBlock.Background> 
														 |