how to use both solid brush and imagebrush in listview.background

The problem i have is how to use both the solid brush and imagebrush tags in listview.bakcground? I have set an image as background in listview but i m not able to set any color to the background?

 <ListView.Background>
   <ImageBrush  ImageSource="Images\ViewIcons\cls.png" Opacity="0.05" />
 </ListView.Background>

Answers


If you will set the same property i.e Background then later will overwrite the value of former so do it like this

<Border Background="Red">
        <ListView >

        <ListView.Background>
            <ImageBrush  ImageSource="Images\Q3.png" Opacity=".05" />
        </ListView.Background>
        </ListView>
        </Border>

I hope this will give you an idea.


Need Your Help

How to query items based on permissions?

sitecore sitecore6

I would like to query for items that the Context user as write access to rather than read access. ie, normally I would do something like this:

Android referral removed in analytics v3?

android google-analytics broadcastreceiver referrals

I've spent the last two days trying to find a workaround for this.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.