C# Class PackmanVsix.WpfUtil

Mostrar archivo Open project: madskristensen/Packman Class Usage Examples

Public Methods

Method 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

Method 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 method

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

GetIconForImageMoniker() public static method

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

ThemeImage() public static method

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
return System.Windows.Media.ImageSource