Export (0) Print
Expand All

DesignerActionTextItem Class

Represents a static text item on a smart tag panel.

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

public ref class DesignerActionTextItem : public DesignerActionItem
public class DesignerActionTextItem extends DesignerActionItem
public class DesignerActionTextItem extends DesignerActionItem
Not applicable.

The DesignerActionTextItem class represents individual static text items in a smart tag panel. Individual items are associated together to form a panel by returning the group from a call to the GetSortedActionItems method.

Most commonly, a static text item is used to create an informative label in a panel. Clicking on a static text item causes no action. The derived type DesignerActionHeaderItem is typically used to create labels to separate categories.

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

For a full example of implementing smart tags, see How to: Attach Smart Tags to a Windows Forms Component.

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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:
© 2014 Microsoft