This documentation is archived and is not being maintained.

PropertyTabScope Enumeration

Defines identifiers that indicate the persistence scope of a tab in the Properties window.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

type PropertyTabScope

Member nameDescription
StaticThis tab is added to the Properties window and cannot be removed.
GlobalThis tab is added to the Properties window and can only be removed explicitly by a parent component.
DocumentThis tab is specific to the current document. This tab is added to the Properties window and is removed when the currently selected document changes.
ComponentThis tab is specific to the current component. This tab is added to the Properties window for the current component only and is removed when the component is no longer selected.

PropertyTabScope indicates the persistence scope of a tab that is displayed in the Properties window when a component of a design document has an associated PropertyTabAttribute.

The following code example demonstrates how to use PropertyTabScope to specify the scope of a property tab.

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

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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: