locked
Hide Stackpanel NOT Collapse it RRS feed

  • Question

  • Hi 

    Im working with C# and Im wondering how I would go about trying to HIDE a stackpanel NOT Collapsed. This is because I want to show the first of the stackpanels only and then when a user clicks another stackpanel the clicked on one becomes visible and the other becomes Hidden.

    Thanks
    Thursday, January 16, 2014 7:57 PM

Answers

  • Not sure I get exactly what you mean, but you can set opacity to 0.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, January 16, 2014 8:12 PM
    Moderator

All replies

  • Not sure I get exactly what you mean, but you can set opacity to 0.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, January 16, 2014 8:12 PM
    Moderator
  • Well Im an idiot lol 
    The opacity is what I needed and I didnt think about that.
    Thanks. 
    Thursday, January 16, 2014 8:43 PM