O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing the Task Pane

Task panes don’t have a dedicated visual designer because they are implemented through the creation of a user control, which already has a design surface. To add a custom task pane to your Word add-in, right-click the project, select Add New Item, and then select the Windows Forms User Control item.

Note

Because actions panes are document-level concepts, you’ll read about those separately in the section “Creating an Office Document Extension,” later in this chapter. You follow the same general development process.

After the user control is added and the designer is loaded, you can set about creating the UI and code-behind for the task pane. The only Office-specific action item here is wiring the task pane user control ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required