#VS2015 – InkToolbar, add a Toolbar to an #InkCanvas with one line of code! #VSGallery

Hola!

Visual Studio 2015 extension’s Friday. While I finish preparing the logistics to travel with ,my family to London watch a rugby match, I’ll rescue this quick post from the drafts folder.

In this one, the content is not an IDE extension for Visual Studio. This entry is for a control which adds, with just 2 lines of code, a toolbar associated to an InkCanvas to get a better experience when we “draw” on it.

The steps to be used are the following

  • Add a reference to “InkToolbar Control”

  • Defines an element of type [InkToolbar] in XAML and bind the elemento to an InkCanvas.

  • Done! Now we can run the application and play with some Ink capabilities.

Enjoy your weekend!

Saludos @ Madrid

/El Bruno

References

– Visual Studio Gallery Ink Toolbar control for Universal Windows apps

– MSDN InkCanvas Class

– Header image, Wikipedia

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s