通过Uid属性控制TextBlock组件的字体颜色

       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
       xmlns:local="clr-namespace:WpfApplication1"       
       xmlns:sys="clr-namespace:System;assembly=mscorlib"
        xmlns:cl="clr-namespace:System.Collections;assembly=mscorlib"
       Title="MainWindow" Height="250" Width="450">
    
   
       
   

   
       
       
     

你可能感兴趣的:(.net开发)