This documentation is archived and is not being maintained.

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:
virtual property bool AutoShow {
	bool get ();
	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

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: