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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: