SilverlightShow: Tip: How to disable controls in Silverlight? Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples en-us SilverlightShow.net estoychev@completit.com (Emil Stoychev) Argotic Syndication Framework, http://www.codeplex.com/Argotic http://www.rssboard.org/rss-specification RE: Tip: How to disable controls in Silverlight? http://www.silverlightshow.net/tips/Tip-How-to-disable-controls-in-Silverlight.aspx#comment2361 Try property Visibility<br /> <p> </p> Visibility = System.Windows.Visibility.Collapsed; ( Wilson Chan) http://www.silverlightshow.net/tips/Tip-How-to-disable-controls-in-Silverlight.aspx Thu, 17 Sep 2009 03:36:46 +0300 RE: Tip: How to disable controls in Silverlight? http://www.silverlightshow.net/tips/Tip-How-to-disable-controls-in-Silverlight.aspx#comment407 <p>Hi Dave,</p> <p>Yes, this is the funny thing here, the Button control does not have this IsEnabled property because it does NOT derive from ContentControl. We hope this will change in future releases of Silverlight.</p> ( iiordanov) http://www.silverlightshow.net/tips/Tip-How-to-disable-controls-in-Silverlight.aspx Thu, 18 Sep 2008 00:16:35 +0300 RE: Tip: How to disable controls in Silverlight? http://www.silverlightshow.net/tips/Tip-How-to-disable-controls-in-Silverlight.aspx#comment403 <p>And of course I see the error right after I push "Add Comment". I thought that UserControl derived from ContentControl but apparently it doesn't. Fun times.</p> ( Dave) http://www.silverlightshow.net/tips/Tip-How-to-disable-controls-in-Silverlight.aspx Wed, 17 Sep 2008 11:21:45 +0300 RE: Tip: How to disable controls in Silverlight? http://www.silverlightshow.net/tips/Tip-How-to-disable-controls-in-Silverlight.aspx#comment402 <p>Where do you see the IsEnabled property? My controls in SL2 derive from UserControl (which derives from... up the chain) but IsEnabled isn't available. MSDN also says it's not available: <a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.usercontrol_members(VS.95).aspx">http://msdn.microsoft.com/en-us/library/system.windows.controls.usercontrol_members(VS.95).aspx</a></p> <p>Have you actually used it? I see other blog posts where they have examples that are working, but I'm at a loss of how.</p> ( Dave) http://www.silverlightshow.net/tips/Tip-How-to-disable-controls-in-Silverlight.aspx Wed, 17 Sep 2008 11:20:43 +0300