File: winforms\Managed\System\WinForms\ItemBoundsPortion.cs
Project: ndp\fx\src\System.Windows.Forms.csproj (System.Windows.Forms)
//------------------------------------------------------------------------------
// <copyright file="ItemBoundsPortion.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
//------------------------------------------------------------------------------
 
namespace System.Windows.Forms {
 
    using System.Diagnostics;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using Microsoft.Win32;
 
 
 
    /// <include file='doc\ItemBoundsPortion.uex' path='docs/doc[@for="ItemBoundsPortion"]/*' />
    /// <devdoc>
    ///    <para>
    ///       Specifies the display bounds of a ListItem.
    ///    </para>
    /// </devdoc>
    public enum ItemBoundsPortion {
 
        /// <include file='doc\ItemBoundsPortion.uex' path='docs/doc[@for="ItemBoundsPortion.Entire"]/*' />
        /// <devdoc>
        ///    <para>
        ///       Both the icon and label
        ///       portions. In Report View, this includes subitems.
        ///
        ///    </para>
        /// </devdoc>
        Entire = NativeMethods.LVIR_BOUNDS,
 
        /// <include file='doc\ItemBoundsPortion.uex' path='docs/doc[@for="ItemBoundsPortion.Icon"]/*' />
        /// <devdoc>
        ///    <para>
        ///       Only the icon portion.
        ///    </para>
        /// </devdoc>
        Icon = NativeMethods.LVIR_ICON,
 
        /// <include file='doc\ItemBoundsPortion.uex' path='docs/doc[@for="ItemBoundsPortion.Label"]/*' />
        /// <devdoc>
        ///    <para>
        ///       Only the label portion.
        ///    </para>
        /// </devdoc>
        Label = NativeMethods.LVIR_LABEL,
 
        /// <include file='doc\ItemBoundsPortion.uex' path='docs/doc[@for="ItemBoundsPortion.ItemOnly"]/*' />
        /// <devdoc>
        ///    <para>
        ///       Both the icon and label portions. In Report view, this
        ///       does not include subitems. In all other views, this is the same as
        ///    <see langword='Entire'/>
        ///    .
        /// </para>
        /// </devdoc>
        ItemOnly = NativeMethods.LVIR_SELECTBOUNDS,
 
    }
}