DesignerActionList::AutoShow Property

 

Gets or sets a value indicating whether the smart tag panel should automatically be displayed when it is created.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public:
property bool AutoShow {
	virtual bool get();
	virtual void set(bool value);
}

Property Value

Type: System::Boolean

true if the panel should be shown when the owning component is created; otherwise, false. The default is false.

If the property value is set to true, the component with which this DesignerActionList is associated will automatically expand and display the smart tag panel when the component is created.

You can opt out of this behavior by setting the DesignerOptions::ObjectBoundSmartTagAutoShow property to false.

The following code example demonstrates how to create a collection of DesignerActionItem objects.

For a complete explanation of this code example, see How to: Attach Smart Tags to a Windows Forms Component.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: