private void TitleButton_Hold(object sender, System.Windows.Input.GestureEventArgs e) { var vm = this.DataContext as LinkViewModel; if (!InComments) { vm.IsExtendedOptionsShown = !vm.IsExtendedOptionsShown; } }