Skip to content

Instantly share code, notes, and snippets.

@sjehutch
Created December 14, 2017 21:14
Show Gist options
  • Save sjehutch/301d9c880b592bcbd77012b533417d00 to your computer and use it in GitHub Desktop.
Save sjehutch/301d9c880b592bcbd77012b533417d00 to your computer and use it in GitHub Desktop.
showhideview table cell xamarin ios
partial void btn_expand(UIButton sender)
{
stkSummary.Hidden = !stkSummary.Hidden;
if (stkSummary.Hidden) {
btnExpand.SetImage(UIImage.FromBundle("Dashboard_Plus_Button"), UIControlState.Normal);
}
else if (!stkSummary.Hidden){
btnExpand.SetImage(UIImage.FromBundle("Dashboard_Minus_Button"), UIControlState.Normal);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment