C# Class PackmanVsix.WpfUtil

Afficher le fichier Open project: madskristensen/Packman Class Usage Examples

Méthodes publiques

Méthode Description
GetIconForFile ( DependencyObject owner, string file, bool &themeIcon ) : System.Windows.Media.ImageSource
GetIconForImageMoniker ( ImageMoniker imageMoniker, int sizeX, int sizeY ) : System.Windows.Media.Imaging.BitmapSource
ThemeImage ( DependencyObject owner, System.Windows.Media.Imaging.BitmapSource source ) : System.Windows.Media.ImageSource

Private Methods

Méthode Description
DeleteObject ( IntPtr hObject ) : bool
GetImage ( DependencyObject owner, string file, __VSUIDATAFORMAT format, bool &themeIcon ) : System.Windows.Media.ImageSource
GetObjectData ( IVsUIObject obj ) : object

Method Details

GetIconForFile() public static méthode

public static GetIconForFile ( DependencyObject owner, string file, bool &themeIcon ) : System.Windows.Media.ImageSource
owner System.Windows.DependencyObject
file string
themeIcon bool
Résultat System.Windows.Media.ImageSource

GetIconForImageMoniker() public static méthode

public static GetIconForImageMoniker ( ImageMoniker imageMoniker, int sizeX, int sizeY ) : System.Windows.Media.Imaging.BitmapSource
imageMoniker ImageMoniker
sizeX int
sizeY int
Résultat System.Windows.Media.Imaging.BitmapSource

ThemeImage() public static méthode

public static ThemeImage ( DependencyObject owner, System.Windows.Media.Imaging.BitmapSource source ) : System.Windows.Media.ImageSource
owner System.Windows.DependencyObject
source System.Windows.Media.Imaging.BitmapSource
Résultat System.Windows.Media.ImageSource