> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class ColorXmlSerializer

Namespace: [VM.Managed](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed)\
Assembly: VMAppCore.dll

This class is to represent the icon color.

```csharp theme={null}
public class ColorXmlSerializer
```

#### Inheritance

object ←
[ColorXmlSerializer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ColorXmlSerializer.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### ColorXmlSerializer(Color)

Initializes a new instance of the [ColorXmlSerializer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ColorXmlSerializer.md) class.

```csharp theme={null}
public ColorXmlSerializer(Color color)
```

#### Parameters

`color` Color

The color.

### ColorXmlSerializer()

Initializes a new instance of the [ColorXmlSerializer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ColorXmlSerializer.md) class.

```csharp theme={null}
public ColorXmlSerializer()
```

## Properties

### Data

Gets or sets the color.

```csharp theme={null}
public Color Data { get; set; }
```

#### Property Value

Color

## Methods

### GetSchema()

```csharp theme={null}
public virtual XmlSchema GetSchema()
```

#### Returns

XmlSchema

### ReadXml(XmlReader)

```csharp theme={null}
public virtual void ReadXml(XmlReader reader)
```

#### Parameters

`reader` XmlReader

### WriteXml(XmlWriter)

```csharp theme={null}
public virtual void WriteXml(XmlWriter writer)
```

#### Parameters

`writer` XmlWriter

## Operators

### implicit operator Color(ColorXmlSerializer)

Cast operator.

```csharp theme={null}
public static implicit operator Color(ColorXmlSerializer o)
```

#### Parameters

`o` [ColorXmlSerializer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ColorXmlSerializer.md)

The color xmlserializer.

#### Returns

Color

### implicit operator ColorXmlSerializer(Color)

Cast operator.

```csharp theme={null}
public static implicit operator ColorXmlSerializer(Color o)
```

#### Parameters

`o` Color

The color.

#### Returns

[ColorXmlSerializer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ColorXmlSerializer.md)
