Admiral Land
Admiral Land

Reputation: 2492

How to make image placeholder?

How to get image placeholder? It should looks like empty place (16*16) in gray color. And when i select image- it places into placeholder.

I know how to select image from files, but i do not know how to make empty space (16*16 with gray color).

Can you get me some links or simple example? Thank you!

Upvotes: 0

Views: 1040

Answers (1)

Filip
Filip

Reputation: 1864

You can do something as simple as:

<Grid Background="Gray">
   <Image />
</Grid>

When image loads, it will cover the gray color.

Upvotes: 3

Related Questions