none
[WP8.1] Get highest Z Index value of controls in windows 8/8.1 c# RRS feed

  • Question

  • Hi All,

    Is there any API to get highest Z-Index value of the loaded controls? I want my element always on TOP. Please suggest me? 

    Thanks


    Pallam Madhukar Windows Phone Developer


    • Edited by Fred Bao Tuesday, January 12, 2016 2:34 AM add the tag
    Monday, January 11, 2016 11:09 AM

Answers

  • I don't think there is any function to know highest z-index. You will have to loop through all the controls to get highest value.

    Or may be just set a value like a "1000" in Z-Index or which you think you haven't set in other controls.


    Gaurav Khanna | Microsoft .NET MVP | Microsoft Community Contributor

    • Proposed as answer by Fred Bao Monday, January 18, 2016 9:06 AM
    • Marked as answer by Fred Bao Tuesday, January 19, 2016 9:57 AM
    Monday, January 11, 2016 4:29 PM