Export (0) Print
Expand All

DesignerActionUIService Class

Manages the user interface (UI) for a smart tag panel. This class cannot be inherited.

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

public sealed class DesignerActionUIService : IDisposable
public final class DesignerActionUIService implements IDisposable
public final class DesignerActionUIService implements IDisposable
Not applicable.

You can control the display of your designer's ActionLists with the DesignerActionUIService class. DesignerActionUIService provides a straightforward interface for displaying the items for each component, including the following methods and events:

Use the DesignerActionService to manage the DesignerActionList collections associated with your component.

The following code example demonstrates how to use the Refresh method to update a smart tag panel. This example is part of a larger example available in the DesignerActionService class overview.

// Boolean properties are automatically displayed with binary 
// UI (such as a checkbox).
public bool LockColors
{
    get
    {
        return colLabel.ColorLocked;
    }
    set
    {
        GetPropertyByName("ColorLocked").SetValue(colLabel, value);

        // Refresh the list.
        this.designerActionUISvc.Refresh(this.Component);
    }
}

System.Object
  System.ComponentModel.Design.DesignerActionUIService

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