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
Beispiel #1
0
 public SimpleCompletionEntry(string text, string description, ImageMoniker moniker, IIntellisenseSession session)
     : base(text, "\"" + text + "\"", description, WpfUtil.GetIconForImageMoniker(moniker, 16, 16), null, false, session as ICompletionSession)
 {
 }
Beispiel #2
0
 public SimpleCompletionEntry(string text, ImageMoniker moniker, IIntellisenseSession session, int specificVersion)
     : this(text, null, WpfUtil.GetIconForImageMoniker(moniker, 16, 16), session)
 {
     _specificVersion = specificVersion;
 }