File: Core\CSharp\System\Windows\SizeToContent.cs
Project: wpf\src\PresentationCore.csproj (PresentationCore)
//------------------------------------------------------------------------------
//  Microsoft Avalon
//  Copyright (c) Microsoft Corporation, 2005
//
//  File: SizeToContent.cs
//------------------------------------------------------------------------------
 
namespace System.Windows
{
    /// <summary>
    /// SizeToContent
    /// </summary>
    [Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
    public enum SizeToContent
    {
        /// <summary>
        /// Does not size to content
        /// </summary>
        Manual = 0,
        /// <summary>
        /// Sizes Width to content's Width
        /// </summary>        
        Width = 1,
        /// <summary>
        /// Sizes Height to content's Height
        /// </summary>
        Height = 2,
        /// <summary>
        /// Sizes both Width and Height to content's size
        /// </summary>
        WidthAndHeight = 3,
        // Please update IsValidSizeToContent if there are name changes.
    }
}