C# Class CmisSync.UIHelpers

Afficher le fichier Open project: OpenDataSpace/CmisSync Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

GetBitmap() public static méthode

Get the image associated with given identifier.
public static GetBitmap ( string name ) : Bitmap
name string
Résultat System.Drawing.Bitmap

GetIcon() public static méthode

Get the icon associated with given identifier.
public static GetIcon ( string name ) : Icon
name string
Résultat System.Drawing.Icon

GetImagePathname() public static méthode

public static GetImagePathname ( string name, string type = "png" ) : string
name string
type string
Résultat string

GetImageSource() public static méthode

Get the image frame associated with given identifier.
public static GetImageSource ( string name ) : BitmapFrame
name string
Résultat BitmapFrame

GetImageSource() public static méthode

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".
Résultat BitmapFrame