File: Windows.Win32.VIEWSTATUS.g.cs
Project: src\src\System.Windows.Forms.Primitives\src\System.Windows.Forms.Primitives.csproj (System.Windows.Forms.Primitives)
// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------

#pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981
using global::System;
using global::System.Diagnostics;
using global::System.Diagnostics.CodeAnalysis;
using global::System.Runtime.CompilerServices;
using global::System.Runtime.InteropServices;
using global::System.Runtime.Versioning;
using winmdroot = global::Windows.Win32;
namespace Windows.Win32
{
	namespace System.Ole
	{
		/// <summary>Specifies the opacity of the object and the drawing aspects supported by the object.</summary>
		/// <remarks>
		/// <para><see href="https://learn.microsoft.com/windows/win32/api/ocidl/ne-ocidl-viewstatus">Learn more about this API from docs.microsoft.com</see>.</para>
		/// </remarks>
		[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
		internal enum VIEWSTATUS
		{
			/// <summary>
			/// <para>The object is completely opaque. So, for any aspect, it promises to draw the entire rectangle passed to the <a href="https://docs.microsoft.com/windows/desktop/api/oleidl/nf-oleidl-iviewobject-draw">IViewObject::Draw</a> method. If this value is not set, the object contains transparent parts. If it also support DVASPECT_TRANSPARENT, then this aspect may be used to draw the transparent parts only. This bit applies only to CONTENT related aspects and not to DVASPECT_ICON or DVASPECT_DOCPRINT.</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/ocidl/ne-ocidl-viewstatus#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			VIEWSTATUS_OPAQUE = 1,
			/// <summary>
			/// <para>The object has a solid background (consisting in a solid color, not a brush pattern). This bit is meaningful only if VIEWSTATUS_OPAQUE is set. This bit applies only to CONTENT related aspects and not to DVASPECT_ICON or DVASPECT_DOCPRINT.</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/ocidl/ne-ocidl-viewstatus#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			VIEWSTATUS_SOLIDBKGND = 2,
			/// <summary>The object supports DVASPECT_OPAQUE. All <a href="https://docs.microsoft.com/windows/desktop/api/ocidl/nn-ocidl-iviewobjectex">IViewObjectEx</a> methods taking a drawing aspect as a parameter can be called with this aspect.</summary>
			VIEWSTATUS_DVASPECTOPAQUE = 4,
			/// <summary>The object supports DVASPECT_TRANSPARENT. All <a href="https://docs.microsoft.com/windows/desktop/api/ocidl/nn-ocidl-iviewobjectex">IViewObjectEx</a> methods taking a drawing aspect as a parameter can be called with this aspect.</summary>
			VIEWSTATUS_DVASPECTTRANSPARENT = 8,
			/// <summary>The object supports a 2-dimensional surface.</summary>
			VIEWSTATUS_SURFACE = 16,
			/// <summary>The object supports a 3-dimensional surface.</summary>
			VIEWSTATUS_3DSURFACE = 32,
		}
	}
}