Class
Color

Wraps a color object.

Definition

Namespace:ArtOfTest.WebAii.Controls.Xaml.Wpf

Assembly:ArtOfTest.WebAii.dll

Syntax:

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

Inheritance: objectAutomationObject<Color>Color

Implements: IAutomationPeerIColorIPeerConverter

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

Constructors

Color()

Declaration

cs-api-definition
public Color()

Fields

AProperty

Declaration

cs-api-definition
public static AutomationProperty AProperty

Field Value

AutomationProperty

BProperty

Declaration

cs-api-definition
public static AutomationProperty BProperty

Field Value

AutomationProperty

GProperty

Declaration

cs-api-definition
public static AutomationProperty GProperty

Field Value

AutomationProperty

RProperty

Declaration

cs-api-definition
public static AutomationProperty RProperty

Field Value

AutomationProperty

Properties

A

Declaration

cs-api-definition
[DataMember]
public virtual byte A { get; set; }

Property Value

byte

Implements IColor.A

B

Declaration

cs-api-definition
[DataMember]
public virtual byte B { get; set; }

Property Value

byte

Implements IColor.B

G

Declaration

cs-api-definition
[DataMember]
public virtual byte G { get; set; }

Property Value

byte

Implements IColor.G

R

Declaration

cs-api-definition
[DataMember]
public virtual byte R { get; set; }

Property Value

byte

Implements IColor.R

ScA

The color A value.

Declaration

cs-api-definition
public virtual float ScA { get; set; }

Property Value

float

ScB

The color B value.

Declaration

cs-api-definition
public virtual float ScB { get; set; }

Property Value

float

ScG

The color G value.

Declaration

cs-api-definition
public virtual float ScG { get; set; }

Property Value

float

ScR

The color R value.

Declaration

cs-api-definition
public virtual float ScR { get; set; }

Property Value

float

Methods

GetRealType()

Gets the real peer type

Declaration

cs-api-definition
public override string GetRealType()

Returns

string

Overrides AutomationObject<Color>.GetRealType()