|
//------------------------------------------------------------------------------
// <copyright file="AutoSizeMode.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms {
/// <include file='doc\AutoSizeMode.uex' path='docs/doc[@for="AutoSizeMode"]/*' />
/// <devdoc>
/// <para>
/// Specifies how the control will behave when its AutoSize property is enabled
/// </para>
/// </devdoc>
public enum AutoSizeMode {
/// <devdoc>
/// The same behavior as you get for controls with AutoSize and no AutoSizeMode property.
/// The control will grow or shrink to encompass the contents (e.g. text for a Button, child
/// controls for a container). The MinimumSize and MaximumSize are followed, but the current
// value of the Size property is ignored.
/// </devdoc>
GrowAndShrink,
/// <devdoc>
/// The control will grow as much as it needs to encompass its contents (e.g. text for a button,
/// child controls for a container), but will not shrink smaller than its Size, whichever is larger.
/// </devdoc>
GrowOnly
}
}
|