Ok im not sure why this aint working. Basically I have a BorderControl which hosts a Grid which hosts various controls. The borderControl starts with its Visibility set to Collapsed. When I click a button in my application the visibility is changed to visible and a quick animation is played.
This all works fine.
Now there is another button which will change the visibility of the BorderControl back to Collapsed. Problem is when I push the button it does nothing.
Code for the button
This all works fine.
Now there is another button which will change the visibility of the BorderControl back to Collapsed. Problem is when I push the button it does nothing.
Code for the button
private void btnGClose_Click(object sender, RoutedEventArgs e)
{
bdGroupEdit.Visibility = Visibility.Collapsed;
}
Any ideas as to why this might not work?