How do you color a rectangle in C# that has been declared in XAML in WPF?
        Posted  
        
            by xarzu
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by xarzu
        
        
        
        Published on 2010-05-22T01:12:29Z
        Indexed on 
            2010/05/22
            1:20 UTC
        
        
        Read the original article
        Hit count: 263
        
How do you color a rectangle in C# that has been declared in XAML in WPF?
There is a rectangle control in XAML. In my C# code there are times in which it would be nice to fill the background color. How does one do this?
© Stack Overflow or respective owner