---
title: "Want to show/hide control from ViewModel in wpf"  
description: "Want to show/hide control from ViewModel in wpf"  
author: "Anonymous User"  
published: 2014-01-29  
updated: 2014-01-29  
canonical: https://www.mindstick.com/forum/1908/want-to-show-hide-control-from-viewmodel-in-wpf  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# Want to show/hide control from ViewModel in wpf

I want to show/hide [control](https://www.mindstick.com/blog/197/asp-dot-net-repeater-control) from [ViewModel](https://www.mindstick.com/forum/157215/what-is-viewmodel-in-mvc) in wpf. But NotifyingProperty not [working fine](https://answers.mindstick.com/qa/95550/why-is-the-safari-browser-not-working-fine) here is my code.

This is my control on [design View](https://answers.mindstick.com/qa/94814/design-view-is-not-getting-displayed-in-my-android-studio-what-should-i-do)

<ZuneWithCtrls_UserControls:SmallClock [Visibility](https://www.mindstick.com/blog/301300/how-to-improve-your-visibility-in-zero-click-search-results)="{Binding IsProcessStart, Converter={StaticResource BooleanToVisibilityConverter}}"

Height="Auto" Width="Auto" VerticalAlignment="Center" HorizontalAlignment="Center" Canvas.Top="150"/>

ViewModel

[private](https://www.mindstick.com/blog/11097/java-access-modifiers-the-public-and-the-private-modifiers) [readonly](https://www.mindstick.com/forum/1419/how-can-i-make-the-wpf-datagrid-cells-readonly) NotifyingProperty IsProcessStartProperty =

new NotifyingProperty("IsProcessStart", typeof(bool), default(bool));

public bool IsProcessStart

{

get { return (bool)GetValue(IsProcessStartProperty); }

set { SetValue(IsProcessStartProperty, value); }

}

On Constructor of ViewModel I set

public AdvanceSearchViewModel()

{

IsProcessStart = false;

}

And I am changing this [property](https://www.mindstick.com/blog/205/property-notification-in-c-sharp) on [button click](https://www.mindstick.com/forum/790/form-gets-submiited-twice-on-button-click) [command](https://www.mindstick.com/blog/178/synchronous-and-asynchronous-command-execution-in-c-sharp-dot-net) but it's not working. Please help


---

Original Source: https://www.mindstick.com/forum/1908/want-to-show-hide-control-from-viewmodel-in-wpf

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
