Class
GradientStop

Wraps a GradientStop object.

Definition

Namespace:ArtOfTest.WebAii.Controls.Xaml.Wpf

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
[DataContract]
public class GradientStop : AutomationObject<GradientStop>, IAutomationPeer, IPeerConverter

Inheritance: objectAutomationObject<GradientStop>GradientStop

Implements: IAutomationPeerIPeerConverter

Inherited Members AutomationObject<GradientStop>.GetProperty(AutomationProperty)AutomationObject<GradientStop>.GetProperty(AutomationProperty, object)AutomationObject<GradientStop>.SetProperty(AutomationProperty, object)AutomationObject<GradientStop>.InvokeMethod(AutomationMethod, params object[])AutomationObject<GradientStop>.InvokeMethod(string, params object[])AutomationObject<GradientStop>.Serialize()AutomationObject<GradientStop>.Deserialize(string)AutomationObject<GradientStop>.AssignReference(AutomationReference)AutomationObject<GradientStop>.ToRealObject()AutomationObject<GradientStop>.FromRealObject(object)AutomationObject<GradientStop>.ReferenceAutomationObject<GradientStop>.PropertyBag

Constructors

GradientStop()

Create a new instance of GradientStop class.

Declaration

cs-api-definition
public GradientStop()

Fields

ColorProperty

AutomationProperty object for Color property.

Declaration

cs-api-definition
public static AutomationProperty ColorProperty

Field Value

AutomationProperty

OffsetProperty

AutomationProperty object for Offset property.

Declaration

cs-api-definition
public static AutomationProperty OffsetProperty

Field Value

AutomationProperty

Properties

Color

Get the gradient stop color.

Declaration

cs-api-definition
[DataMember]
public Color Color { get; set; }

Property Value

Color

Offset

Get the gradient stop offset.

Declaration

cs-api-definition
[DataMember]
public double Offset { get; set; }

Property Value

double

Methods

GetRealType()

Gets the real peer type

Declaration

cs-api-definition
public override string GetRealType()

Returns

string

Overrides AutomationObject<GradientStop>.GetRealType()