Created
June 2, 2015 12:49
-
-
Save cromica/a55d2a6b9cbd848af1b7 to your computer and use it in GitHub Desktop.
sample code on how to specify custom icon for AutoSuggest provider using Integration API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[AutoSuggestProvider(Id = "SourceCopyAutoSuggestProvider", Name = "AutoSuggest provider for copying the source words")] | |
public class SourceCopyAutoSuggestProvider : AbstractAutoSuggestProvider | |
{ | |
private List<string> _segmentWordSuggestCandidates; | |
public SourceCopyAutoSuggestProvider() | |
{ | |
// Set the default icon for the suggestions from this provider | |
Icon = new Icon(SystemIcons.Exclamation, 16, 16); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment