|
//------------------------------------------------------------------------------
// <copyright file="MenuMerge.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\MenuMerge.uex' path='docs/doc[@for="MenuMerge"]/*' />
/// <devdoc>
/// <para>
/// Specifies the behavior of a <see cref='System.Windows.Forms.MenuItem'/> when it is merged with items in another menu.
/// </para>
/// </devdoc>
public enum MenuMerge {
/// <include file='doc\MenuMerge.uex' path='docs/doc[@for="MenuMerge.Add"]/*' />
/// <devdoc>
/// <para>
/// The <see cref='System.Windows.Forms.MenuItem'/> is added to
/// the existing <see cref='System.Windows.Forms.MenuItem'/> objects in a merged menu.
/// </para>
/// </devdoc>
Add = 0,
/// <include file='doc\MenuMerge.uex' path='docs/doc[@for="MenuMerge.Replace"]/*' />
/// <devdoc>
/// <para>
/// The <see cref='System.Windows.Forms.MenuItem'/> replaces the
/// existing <see cref='System.Windows.Forms.MenuItem'/>
/// at the same position in a
/// merged menu.
///
/// </para>
/// </devdoc>
Replace = 1,
/// <include file='doc\MenuMerge.uex' path='docs/doc[@for="MenuMerge.MergeItems"]/*' />
/// <devdoc>
/// <para>
/// Subitems of this <see cref='System.Windows.Forms.MenuItem'/> are merged with
/// those of existing <see cref='System.Windows.Forms.MenuItem'/> objects
/// at the same position in a merged menu.
/// </para>
/// </devdoc>
MergeItems = 2,
/// <include file='doc\MenuMerge.uex' path='docs/doc[@for="MenuMerge.Remove"]/*' />
/// <devdoc>
/// <para>
/// The <see cref='System.Windows.Forms.MenuItem'/> is not included in a merged menu.
/// </para>
/// </devdoc>
Remove = 3,
}
}
|