|
//------------------------------------------------------------------------------
// <copyright file="Border3DSide.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.Drawing;
using Microsoft.Win32;
/// <include file='doc\Border3DSide.uex' path='docs/doc[@for="Border3DSide"]/*' />
/// <devdoc>
/// <para>
/// Specifies
/// the sides of a rectangle to apply a three-dimensional border to.
/// </para>
/// </devdoc>
[System.Runtime.InteropServices.ComVisible(true), Flags]
public enum Border3DSide {
/// <include file='doc\Border3DSide.uex' path='docs/doc[@for="Border3DSide.Left"]/*' />
/// <devdoc>
/// <para>
/// A three-dimensional border on
/// the left edge
/// of the control.
/// </para>
/// </devdoc>
Left = NativeMethods.BF_LEFT,
/// <include file='doc\Border3DSide.uex' path='docs/doc[@for="Border3DSide.Top"]/*' />
/// <devdoc>
/// <para>
/// A three-dimensional border on
/// the top edge
/// of the rectangle.
/// </para>
/// </devdoc>
Top = NativeMethods.BF_TOP,
/// <include file='doc\Border3DSide.uex' path='docs/doc[@for="Border3DSide.Right"]/*' />
/// <devdoc>
/// <para>
/// A three-dimensional border on
/// the right side
/// of the rectangle.
/// </para>
/// </devdoc>
Right = NativeMethods.BF_RIGHT,
/// <include file='doc\Border3DSide.uex' path='docs/doc[@for="Border3DSide.Bottom"]/*' />
/// <devdoc>
/// <para>
/// A three-dimensional border on
/// the bottom side
/// of the rectangle.
/// </para>
/// </devdoc>
Bottom = NativeMethods.BF_BOTTOM,
/// <include file='doc\Border3DSide.uex' path='docs/doc[@for="Border3DSide.Middle"]/*' />
/// <devdoc>
/// <para>
/// The interior of the rectangle is filled with the
/// color defined for three-dimensional controls instead of the
/// background color
/// for the form.
/// </para>
/// </devdoc>
Middle = NativeMethods.BF_MIDDLE,
/// <include file='doc\Border3DSide.uex' path='docs/doc[@for="Border3DSide.All"]/*' />
/// <devdoc>
/// <para>
/// A three-dimensional border on all four
/// edges and fill the middle of
/// the rectangle with
/// the color defeined for three-dimensional controls.
/// </para>
/// </devdoc>
All = Left | Top | Right | Bottom | Middle,
}
}
|