File: System\ComponentModel\Design\PropertyTabScope.cs
Web Access
Project: src\src\libraries\System.ComponentModel.TypeConverter\src\System.ComponentModel.TypeConverter.csproj (System.ComponentModel.TypeConverter)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.ComponentModel
{
    /// <summary>
    /// Specifies the function scope of a tab in the properties window.
    /// </summary>
    public enum PropertyTabScope
    {
        /// <summary>
        /// This tab will be added to the properties window and can never be removed.
        /// </summary>
        Static = 0,
 
        /// <summary>
        /// This tab will be added to the properties window and can only be explicitly removed by a
        /// component outside the properties window.
        /// </summary>
        Global = 1,
 
        /// <summary>
        /// This tab will be added to the properties window and will be removed when the currently selected document changes.
        /// This tab is relevant to items on the current document.
        /// </summary>
        Document = 2,
 
        /// <summary>
        /// This tab will be added to the properties window for the current component only, and is
        /// removed when the component is no longer selected.
        /// </summary>
        Component = 3,
    }
}