Nevron .NET Vision
Nevron.GraphicsCore Namespace / NGradientFillStyle Class / Variant Property


In This Topic
    Variant Property (NGradientFillStyle)
    In This Topic
    The gradient variant of the NFillStyle.
    Syntax
    'Declaration
     
    
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property Variant As GradientVariant
    'Usage
     
    
    Dim instance As NGradientFillStyle
    Dim value As GradientVariant
     
    instance.Variant = value
     
    value = instance.Variant
    [System.Xml.Serialization.XmlAttribute()]
    public GradientVariant Variant {get; set;}
    Remarks
    Each gradient style has different sub variants. For example the horizontal gradient style has four variants that indicate how the control will merge the Color1 and Color2 properties. The possible values are Variant1, Variant2, Variant3, Variant4. The default value for this property is Variant1. All gradient styles support four variants except the FromCenter one which supports only two.
    Requirements

    Target Platforms: 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