C# Класс Open.Core.Common.IconExtensions

Extensions for accessing icon images.
Показать файл Открыть проект

Открытые методы

Метод Описание
IsSilk ( this icon ) : bool

Determines whether the given icon flag is from the Silk icon set.

ToImage ( this icon ) : System.Image

Converts the icon to an Image.

ToImageSource ( this icon ) : BitmapImage

Converts the icon to an a value that can be used as the 'Source' of an Image.

ToUri ( this icon ) : Uri

Retrieves the path to the corresponding image file.

Описание методов

IsSilk() публичный статический Метод

Determines whether the given icon flag is from the Silk icon set.
public static IsSilk ( this icon ) : bool
icon this The flag of the icon to examine.
Результат bool

ToImage() публичный статический Метод

Converts the icon to an Image.
public static ToImage ( this icon ) : System.Image
icon this The flag of the icon to convert.
Результат System.Image

ToImageSource() публичный статический Метод

Converts the icon to an a value that can be used as the 'Source' of an Image.
public static ToImageSource ( this icon ) : BitmapImage
icon this The flag of the icon to convert.
Результат BitmapImage

ToUri() публичный статический Метод

Retrieves the path to the corresponding image file.
public static ToUri ( this icon ) : Uri
icon this The flag of the icon to convert.
Результат System.Uri