Version

GradientAlignment Enumeration

Determines how a gradient is aligned with respect to its origin and extent.
Syntax
'Declaration
 
Public Enum GradientAlignment 
   Inherits System.Enum
public enum GradientAlignment : System.Enum 
Members
MemberDescription
ClientThe gradient is aligned with respect to the control client area.
ContainerThe gradient is aligned with respect to the control's container.
DefaultThe default alignment.
ElementThe gradient is aligned with respect to the element that is being drawn.
FormThe gradient is aligned with respect to the form it is on.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also