I have a control that I want to enable/disable based on a checkbox. I ended up using a binding with ElementName and Path:
<CheckBox
x:Name="Enabler" />
<ComboBox
IsEnabled="{Binding ElementName=Enabler,Path=IsChecked}" />
I have a control that I want to enable/disable based on a checkbox. I ended up using a binding with ElementName and Path:
<CheckBox
x:Name="Enabler" />
<ComboBox
IsEnabled="{Binding ElementName=Enabler,Path=IsChecked}" />
void AddManyControls()
{
var control = new Control();
ToolTip toolTip = new ToolTip
{
Content = "ToolTip Content"
}
ToolTipService.SetToolTip(control, toolTip);
}
It turns out I was writing some temporary files to a subfolder in the “bin” (or application) directory. The server saw that there were changes, and (correctly) decided a restart was required.
Here are some other options on why the server (both WebDev and IIS/IISExpress) may be restarting/recycling too much: http://blogs.msdn.com/b/johan/archive/2007/05/16/common-reasons-why-your-application-pool-may-unexpectedly-recycle.aspx