creates Property for a specific layer z-index
Use self defined constants for the different layers of your UI.
number of layer the z-index should be calculated for