question

davidg-9488 avatar image
0 Votes"
davidg-9488 asked ·

Adding Display focus to winrt “metro” live tiles

Hey all I am working on getting this glowing border (Microsoft calls it Display focus) working with my Windows 8.1 Grid App WinRT app.

bLh1V.png

What I am talking about implementing is this (gif animated version here):

ceFIQ.png
IYMFz.png

I am using "metro" tiles like this:

pQL0S.png

How it works acording to Microsoft:

Display focus adds an animated glow (a fluorescent light effect) around the border of the element so that you can focus your attention on the focused element.

The demo of this effect is in the XAML Controls Gallery and also here

However, I am unable to get the demo for this working as its a tad confusing on what the user needs to do since it looks nothing like the image demo's.

Those of you who have used this effect before or just know how to add it to my square "metro" live tiles would be great! It's a nifty effect that will help my "10 foot experiennce" even easier to show what is currently being chosen when using a remote.

windows-uwp
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

When you try to display focus, you need to set the Application.FocusVisualKind as Reveal, but the method only works for windows 10 and I didn't find the similar property in windows 8.1. So you might need to implement it manually, for example, when the item gets focus, you could add the light effect on it, make the border wider and change its background.

0 Votes 0 ·

0 Answers