In This Article

IBarImageProvider Interface

Provides the base requirements for an object that can provide images for bar controls.

public interface IBarImageProvider

Methods

GetImage(string?, BarImageOptions)

Gets an object representing an image for the specified bar control key and set of options.

object? GetImage(string? key, BarImageOptions options)
Parameter Type Description
key string

A string that uniquely identifies a bar control.

options BarImageOptions

A BarImageOptions that indicates the image options.

Returns

object

GetImage(string?, BarImageSize)

Gets an object representing an image for the specified bar control key and size.

object? GetImage(string? key, BarImageSize size)
Parameter Type Description
key string

A string that uniquely identifies a bar control.

size BarImageSize

A BarImageSize that indicates the image size.

Returns

object

Extension Methods