bryanpjohnston

A blog by someone with not much to say.

Category: Windows 8

Segoe UI Symbol Icons and WinRT Button Styling

For button styling in my WinRT app, I would run the Character Map utility, look up the Unicode value of an appropriate looking symbol in the Segoe UI Symbol font family, and specify that value as the content of my button.

<Button Content="& #xE109;" FontFamily="Segoe UI Symbol"/>

It seemed there had to be a better way to access standard icons. It seems that Microsoft provides the standard icons in a symbol enumeration.

So to use the standard icon for “add”, you can style your button like so:

<Button>
    <Button.Content>
        <SymbolIcon Symbol="Add"/>
    </Button.Content>
</Button>

Here are Microsoft’s Guidelines for Segoe UI Symbol icons.

Advertisement

Windows Store Apps – Privacy Policy

If you are writing apps for Windows 8 and you want to earn money by placing ads in your app, it takes 3 easy steps:

  1. Create an account with the Microsoft Advertising pubCenter. Once you have an account, you can add applications and add units to your account.
  2. Use the Advertising SDK for Windows 8 to add the appropriate adcontrols to your app.
  3. Add a privacy policy to your app in order pass Windows 8 certification requirements.

The third step is not the most obvious and it seems this is a common reason for apps to fail Windows certification (including my own).

Item 4.1.1 of the Windows 8 app certification requirements states:

Your app must have a privacy statement if it is network-capable

Read the rest of this entry »