esiste la proprietà Visibility che permette di nascondere il render di determinati elementi grafici

codice:
        control.Visibility = Visibility.Collapsed;
codice:
        //
        // Summary:
        //     Display the element.
        Visible = 0,
        //
        // Summary:
        //     Do not display the element, but reserve space for the element in layout.
        Hidden = 1,
        //
        // Summary:
        //     Do not display the element, and do not reserve space for it in layout.
        Collapsed = 2