/***************************************************************************\
*
* File: InheritanceBehavior.cs
*
*  Modes used for inheritance property lookup as well as resource lookup.
*
* Copyright (C) 2005 by Microsoft Corporation.  All rights reserved.
*
\***************************************************************************/

namespace System.Windows
{
    /// <summary>
    /// Modes used for inheritance property lookup as well as resource lookup
    /// </summary>
    public enum InheritanceBehavior
    {
        /// <summary>
        /// 1. Inheritable property lookup will query the current element and further.
        /// 2. Resource lookup will query through the current element and further.
        /// </summary>
        Default = 0,

        /// <summary>
        /// 1. Inheritable property lookup will not query the current element or any further.
        /// 2. Resource lookup will not query the current element but will skip over to the app and theme dictionaries.
        /// </summary>
        SkipToAppNow = 1,
        
        /// <summary>
        /// 1. Inheritable property lookup will query the current element but not any further.
        /// 2. Resource lookup will query the current element and will then skip over to the app and theme dictionaries.
        /// </summary>
        SkipToAppNext = 2,

        /// <summary>
        /// 1. Inheritable property lookup will not query the current element or any further.
        /// 2. Resource lookup will not query the current element but will skip over to the theme dictionaries.
        /// </summary>
        SkipToThemeNow = 3,

        /// <summary>
        /// 1. Inheritable property lookup will query the current element but not any further.
        /// 2. Resource lookup will query the current element and will then skip over to the theme dictionaries.
        /// </summary>
        SkipToThemeNext = 4,
        
        /// <summary>
        /// 1. Inheritable property lookup will not query the current element or any further.
        /// 2. Resource lookup will not query the current element or any further.
        /// </summary>
        SkipAllNow = 5,
        
        /// <summary>
        /// 1. Inheritable property lookup will query the current element but not any further.
        /// 2. Resource lookup will query the current element but not any further.
        /// </summary>
        SkipAllNext = 6,
    }
}

