vspackage: how could I make a command in the context menu available for specific file type -
In Solution Explorer, there are projects and files, and I want my custom command to be displayed only when the user is on some file type Click OK, we say ".cs" or ".html" How can I do this?
Assume that your package is loaded, you can control the view / active status through
In the event handler, you set that the command is supported (ALEMENU COMM. Supported assets) visible state (Olemanu Command.Vidual Property) and the competent state (Oleman Command. Whatever the terms, the type of file chosen in the Solution Explorer such as.
Comments
Post a Comment