Table of Contents

Method Assign

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Assign(Color)

Copies the color data and related properties from the specified Color instance to the current instance.

public virtual void Assign(Color other)

Parameters

other Color

The Color instance whose color data and properties are assigned to this instance. Cannot be null.

Remarks

After assignment, the current instance will have the same color data and properties as the specified other. Any existing resources associated with this instance are replaced with new resources.

Exceptions

ArgumentNullException

Thrown when other is null.