Disabling ToolBoxItem in Vs ToolBox after some scanrio - 01-17-2012 , 02:14 AM
I make a designer with Visual Studio 2010 and use also the Vs
ToolBox(adding custom controls) by the following:
IToolboxService toolBoxService =
toolBoxService .AddToolboxItem(toolboxitem, category);
After dropping specific toolboxitem control on the designer I need
that this item will be disabled (grayed out).
I have the following questions:
1. How could I disable toolboxitem, whereas other toolboxitem in it's
category remain enabled?
2. How I disable the dropping of this toolboxitem?
|Thread Tools||Search this Thread|