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 */
public boolean get_AutoShow ()

/** @property */
public void set_AutoShow (boolean value)

public function get AutoShow () : boolean

public function set AutoShow (value : boolean)

Not applicable.

Property Value

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 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: