Skip to Main Content
Pro C# 2010 and the .NET 4 Platform, Fifth Edition
book

Pro C# 2010 and the .NET 4 Platform, Fifth Edition

by Andrew Troelsen
May 2010
Intermediate to advanced content levelIntermediate to advanced
1752 pages
41h 17m
English
Apress
Content preview from Pro C# 2010 and the .NET 4 Platform, Fifth Edition

28.6. Building the Ink API Tab

The first tab shows the overall role of WPF's digital ink API, which allows you to incorporate painting functionality into a program easily. Of course, the application does not literally need to be a paining application; you can use this API for a wide variety of purposes, including capturing hand-writing input with a stylus for a TabletPC.

Begin by locating the node that represents the Ink API tab in your Objects and Timeline area and expand it. You should see that the default layout manager for this TabItem is a <Grid>. Right-click this and change it to a StackPanel (see Figure 28-29).

Figure 28.29. Changing the layout manager

28.6.1. Designing the ToolBar

You can ensure that the StackPanel is the currently ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner
Visual C++ 2008: How to Program, Second Edition

Visual C++ 2008: How to Program, Second Edition

P. J. Deitel, H. M. Deitel, D. T. Quirk

Publisher Resources

ISBN: 9781430225492Purchase book