Show / Hide Table of Contents

Class UIColorTypeExtensions

Contains extensions for the UIColorType type.

Inheritance
object
UIColorTypeExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types.Extensions
Assembly: MCART.Wpf.Win19041.dll
Syntax
[CLSCompliant(false)]
public static class UIColorTypeExtensions

Methods

| Edit this page View Source

ToColor(UIColorType)

Converts a UIColorType to a Color.

Declaration
public static Color ToColor(this UIColorType color)
Parameters
Type Name Description
UIColorType color

Color to convert.

Returns
Type Description
Color

A new Color equivalent to the specified UIColorType.

| Edit this page View Source

ToDrawingColor(UIColorType)

Converts a UIColorType to a Color.

Declaration
public static Color ToDrawingColor(this UIColorType color)
Parameters
Type Name Description
UIColorType color

Color to convert.

Returns
Type Description
Color

A new Color equivalent to the specified UIColorType.

| Edit this page View Source

ToMediaBrush(UIColorType)

Converts a UIColorType to a Brush.

Declaration
public static Brush ToMediaBrush(this UIColorType color)
Parameters
Type Name Description
UIColorType color

Color to convert.

Returns
Type Description
Brush

A new Brush equivalent to the specified UIColorType.

| Edit this page View Source

ToMediaColor(UIColorType)

Converts a UIColorType to a Color.

Declaration
public static Color ToMediaColor(this UIColorType color)
Parameters
Type Name Description
UIColorType color

Color to convert.

Returns
Type Description
Color

A new Color equivalent to the specified UIColorType.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX