Quantcast
Channel: Grid Background in WPF
Browsing all 9 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Grid Background in WPF

Yes i did a mistake in calling the Code. what i did is i had called the code b4 intialisecomponent() thats the problem occurs. now its fine .thank 4 the Repy.Sorry 4 the mistake i had done.Happy .NET...

View Article



Grid Background in WPF

Well, your code works fine on my machine. Are you sure that LeftColumnGrid is instantiated at the time you try to set the Background?

View Article

Grid Background in WPF

Hi ,The Code is Getting the Exception as Objects Reference not set to an instance of.actually two Color Class is available in .net 1) System.Drawing.Color2) System.Windows.Media.Color WPF is not...

View Article

Grid Background in WPF

Hi,It's myGrid.Background = new SolidColorBrush(Color.FromArgb(50, 100, 150,100));Best regards,Benny

View Article

Grid Background in WPF

It Doesnt worked out ..Getting the Error as Cannot Implictly Convert the SolidBrush to MediaBrush 

View Article


Grid Background in WPF

Hi, try the following Code Snippet myGrid.Background = new SolidBrush(Color.FromArgb(50, 100, 150));   Keep in mind that Background is a Brush, so you can use other brushes such as gradients, textures...

View Article

Grid Background in WPF

Thanks For ur Reply, But i want to apply the RGB Color in C# Code Behind,Not in the XAML.   

View Article

Grid Background in WPF

For the Background in WPF you can also use a hexadecimal value: .cf {font-family:Courier New;font-size:10pt;color:black;background:white;} .cl {margin:0px;} .cb1 {color:blue;} .cb2 {color:#a31515;}...

View Article


Image may be NSFW.
Clik here to view.

Grid Background in WPF

 Hi All, I want to change the Background color for the Grid since the Background Property Expects the Brushes..i want to customise the grid so that i can set the color using RGB instead of using the...

View Article

Browsing all 9 articles
Browse latest View live




Latest Images