In This Article

BarImageOptions Struct

Stores options data for an image used in a bar control.

public struct BarImageOptions

Constructors

BarImageOptions(BarImageSize)

Initializes a new instance of the class.

public BarImageOptions(BarImageSize size)
Parameter Type Description
size BarImageSize

A BarImageSize indicating the image size.

Properties

ContextualColor

The optional contextual Avalonia.Media.Color.

public Color? ContextualColor { readonly get; set; }

Property Value

Color?

Default

The default image options instance.

public static BarImageOptions Default { get; }

Property Value

BarImageOptions

Size

The BarImageSize indicating the image size.

public BarImageSize Size { readonly get; set; }

Property Value

BarImageSize

Inherited Members