Admiral Land Admiral Land - 1 month ago 4x
C# Question

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!


You can do something as simple as:

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

When image loads, it will cover the gray color.