C# Класс CmisSync.UIHelpers

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetBitmap ( string name ) : Bitmap

Get the image associated with given identifier.

GetIcon ( string name ) : Icon

Get the icon associated with given identifier.

GetImagePathname ( string name, string type = "png" ) : string
GetImageSource ( string name ) : BitmapFrame

Get the image frame associated with given identifier.

GetImageSource ( string name, string type ) : BitmapFrame

Get the image frame associated with given identifier and file type.

Приватные методы

Метод Описание
FindImagePathname ( string folder, string filename ) : string
GetIcon ( string name, int size ) : Gdk.Pixbuf
GetImage ( string name ) : Image
GetImagePath ( string name ) : string
ToHex ( this color ) : string

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

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

Get the image associated with given identifier.
public static GetBitmap ( string name ) : Bitmap
name string
Результат System.Drawing.Bitmap

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

Get the icon associated with given identifier.
public static GetIcon ( string name ) : Icon
name string
Результат System.Drawing.Icon

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

public static GetImagePathname ( string name, string type = "png" ) : string
name string
type string
Результат string

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

Get the image frame associated with given identifier.
public static GetImageSource ( string name ) : BitmapFrame
name string
Результат BitmapFrame

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

Get the image frame associated with given identifier and file type.
public static GetImageSource ( string name, string type ) : BitmapFrame
name string
type string Filename extension, for instance "png" or "ico".
Результат BitmapFrame