Just another Tech Blog

Tag Archives: technology

I have had this issue where any GridView or ListView I create with item selection enabled has a standard border color that I just couldn’t seem to change. It was a purple color, and it annoyed me because it didn’t match the colors I was using in my app.

I had given up hope on finding this until recently. Today I found the code for a GridViewItem style, and found the specific items that I could change a couple properties, and voilà!

Custom color selection borders!

So here’s how you do it. First, you get the code for a GridViewItem. (Or a ListViewItem)
(GridViewItem)

(ListViewItem)

There are two things you are looking for (They’ll be near the bottom of each style):

A rectangle with the name “SelectedBorder”

A path with the name “SelectedEarmark”

All you need to do is change the Stroke property on the rectangle and the fill property on the path to the SolidColorBrush of your choice.

I hope this helps you as you seek to perfect your app!

Remember, the best way to learn is to DO. So feel free to mess around with the style code and get things looking just the way you want.

My brother and I were talking, and I think we came up with a pretty viable reason why Microsoft will release the Surface Pro three months after the Surface RT. Let me string some facts together:

Microsoft said that the Surface RT would be available around Windows 8 general availability, which they mentioned at the announcement press conference.

The Verge reports that the only confirmed Windows 8 RT tablet in the works is one by Asus.

There seems to be a plethora of Intel-based tablets which will run the full version of Windows 8, including ones by Lenovo, HP, Dell, and others.

Now, if you think about all these facts together, what can we conclude?

Well, first, how many OEMs are going to get “screwed” by Microsoft with the Surface RT? Well, currently it’s just Asus, as they are the only one currently developing a Windows RT tablet.

Second, what could be a possible reason for Microsoft waiting three months to release it’s Intel version of the Surface? Maybe it’s so that it doesn’t “screw” all the OEMs who will release their Intel-based Windows 8 tablets around Windows 8 general availability.

Can you think of a better reason? Have anything to add? I’d love to hear from you in the comments.