Programming WPF


Book Description

If you want to build applications that take full advantage of Windows Vista's new user interface capabilities, you need to learn Microsoft's Windows Presentation Foundation (WPF). This new edition, fully updated for the official release of .NET 3.0, is designed to get you up to speed on this technology quickly. By page 2, you'll be writing a simple WPF application. By the end of Chapter 1, you'll have taken a complete tour of WPF and its major elements. WPF is the new presentation framework for Windows Vista that also works with Windows XP. It's a cornucopia of new technologies, which includes a new graphics engine that supports 3-D graphics, animation, and more; an XML-based markup language, called XAML, for declaring the structure of your Windows UI; and a radical new model for controls. This second edition includes new chapters on printing, XPS, 3-D, navigation, text and documents, along with a new appendix that covers Microsoft's new WPF/E platform for delivering richer UI through standard web browsers -- much like Adobe Flash. Content from the first edition has been significantly expanded and modified. Programming WPF includes: Scores of C# and XAML examples that show you what it takes to get a WPF application up and running, from a simple "Hello, Avalon" program to a tic-tac-toe game Insightful discussions of the powerful new programming styles that WPF brings to Windows development, especially its new model for controls A color insert to better illustrate WPF support for 3-D, color, and other graphics effects A tutorial on XAML, the new HTML-like markup language for declaring Windows UI An explanation and comparison of the features that support interoperability with Windows Forms and other Windows legacy applications WPF represents the best of the control-based Windows world and the content-based web world. Programming WPF helps you bring it all together.




C# 5.0 Programmer's Reference


Book Description

Stay ahead of the game with this comprehensive guide to the C# programming language Well-known C# expert Rod Stephens gives novice and experienced developers a comprehensive tutorial and reference to standard C#. This new title fully covers the latest C# language standard, C# 5.0, as well as its implementation in the 2013 release of Visual Studio. The author provides exercises and solutions; and his C# Helper website will provide readers and students with ongoing support. This resource is packed with tips, tricks, tutorials, examples, and exercises and is the perfect professional companion for programmers who want to stay ahead of the game. Author Rod Stephens is a well-known programming authority and has written more than 25 programming books covering C#, Java, VB, and other languages. His books have sold more than 150,000 copies in multiple editions. This book's useful exercises and solutions are designed to support training and higher education adoptions. Learn the full range of C# programming language features Quickly locate information for specific language features in the reference section Familiarize yourself with handling data types, variables, constants, and much more Experiment with editing and debugging code and using LINQ Beginning through intermediate-level programmers will benefit from the accessible style of C# 5.0 Programmer's Reference and will have access to its comprehensive range of more advanced topics. Additional support and complementary material are provided at the C# Helper website, www.csharphelper.com. Stay up-to-date and improve your programming skills with this invaluable resource.




XAML Developer Reference


Book Description

Your expert guide to designing and building dynamic user interfaces Sharpen your application design and development skills using XAML—the declarative markup language used in Microsoft Silverlight and Windows Presentation Foundation (WPF). Led by two XAML experts, you’ll learn practical ways to build rich, interactive user interfaces with data integration capabilities and support for multimedia, graphics, and animation. This hands-on guide is ideal for Microsoft .NET developers and web designers alike. Discover how to: Control UI behavior and implement business logic with code-behind solutions Manage UI element positioning with the XAML layout system Use templates to customize UI elements—without affecting their functionality Apply different types of property and event systems in WPF and Silverlight Bind various kinds of data to your UI, and display them in the format you want Implement 2D and 3D vector graphics and animations Reuse control styles and properties to maintain consistency throughout your application




Visual Basic 2008 Programmer's Reference


Book Description

Providing programmers and developers of all skill levels with a comprehensive tutorial and reference to Visual Basic (VB) 2008, Microsoft MVP Rod Stephens presents a broad, solid understanding of essential topics on the latest version of VB. He explains the forms, controls, and other objects that VB furnishes for building applications in a modern windows environment. Plus, he examines the powerful development environment that makes VB such a productive language, and he delves into the VB language itself to show you how to use it to perform an array of important development tasks. Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.




Programming C# 8.0


Book Description

C# is undeniably one of the most versatile programming languages available to engineers today. With this comprehensive guide, you’ll learn just how powerful the combination of C# and .NET can be. Author Ian Griffiths guides you through C# 8.0 fundamentals and techniques for building cloud, web, and desktop applications. Designed for experienced programmers, this book provides many code examples to help you work with the nuts and bolts of C#, such as generics, LINQ, and asynchronous programming features. You’ll get up to speed on .NET Core and the latest C# 8.0 additions, including asynchronous streams, nullable references, pattern matching, default interface implementation, ranges and new indexing syntax, and changes in the .NET tool chain. Discover how C# supports fundamental coding features, such as classes, other custom types, collections, and error handling Learn how to write high-performance memory-efficient code with .NET Core’s Span and Memory types Query and process diverse data sources, such as in-memory object models, databases, data streams, and XML documents with LINQ Use .NET’s multithreading features to exploit your computer’s parallel processing capabilities Learn how asynchronous language features can help improve application responsiveness and scalability




Windows Presentation Foundation Unleashed


Book Description

Printed entirely in color, with helpful figures and syntax coloring to make code samples appear as they do in Visual Studio. Windows Presentation Foundation (WPF) is a key component of the .NET Framework 3.0, giving you the power to create richer and more compelling applications than you dreamed possible. Whether you want to develop traditional user interfaces or integrate 3D graphics, audio/video, animation, dynamic skinning, rich document support, speech recognition, or more, WPF enables you to do so in a seamless, resolution-independent manner. Windows Presentation Foundation Unleashed is the authoritative book that covers it all, in a practical and approachable fashion, authored by .NET guru and Microsoft developer Adam Nathan. · Covers everything you need to know about Extensible Application Markup Language (XAML) · Examines the WPF feature areas in incredible depth: controls, layout, resources, data binding, styling, graphics, animation, and more · Features a chapter on 3D graphics by Daniel Lehenbauer, lead developer responsible for WPF 3D · Delves into non-mainstream topics: speech, audio/video, documents, bitmap effects, and more · Shows how to create popular UI elements, such as features introduced in the 2007 Microsoft Office System: Galleries, ScreenTips, custom control layouts, and more · Demonstrates how to create sophisticated UI mechanisms, such as Visual Studio-like collapsible/dockable panes · Explains how to develop and deploy all types of applications, including navigation-based applications, applications hosted in a Web browser, and applications with great-looking non-rectangular windows · Explains how to create first-class custom controls for WPF · Demonstrates how to create hybrid WPF software that leverages Windows Forms, ActiveX, or other non-WPF technologies · Explains how to exploit new Windows Vista features in WPF applications




Professional C# 4.0 and .NET 4


Book Description

This is the ultimate guide to C# 4 and the .NET 4 framework. Updated with more coverage of intermediate and advanced features, new examples, and detailed discussions of recent language and framework additions, this book covers everything you will need to know about C# and putting it to work. You will also find in-depth reviews of various topics including traditional Windows programming, working in Visual Studio 2010 with C#, base Class Libraries, and communication with Enterprise Services among others.




Practical WPF Graphics Programming


Book Description

The Windows Presentation Foundation (WPF) is a next generation graphics platform that is part of .NET 3.0 and .NET 3.5. It allows you to build advanced user interfaces that incorporate documents, media, 2D and 3D graphics, animations, and web-like characteristics. "Practical WPF Graphics Programming" provides all the tools you need to develop professional graphics applications using WPF and C#. This book will be useful for WPF and C# programmers of all skill levels. It provides a complete and comprehensive explanation of the WPF graphics capability, and pays special attention to the details of code implementation. The book shows you how to create a variety of graphics ranging from simple 2D shapes to complex 3D surfaces and interactive 3D models. It includes over 120 code examples, which cover broad array of topics on WPF graphics programming. You will learn how to create a full range of 2D and 3D graphics applications and how to implement custom 3D geometries and shapes that can be reused in your WPF projects. Please visit the author's website for more information about this book at www.authors.unicadpublish.com/ jack_xu.




WPF Programmer's Reference


Book Description

Build effective user interfaces with Windows Presentation Foundation Windows Presentation Foundation (WPF) is included with the Windows operating system and provides a programming model for building applications that provide a clear separation between the UI and business logic. Written by a leading expert on Microsoft graphics programming, this richly illustrated book provides an introduction to WPF development and explains fundamental WPF concepts. Packed with helpful examples, this reference progresses through a range of topics that gradually increase in their complexity. You’ll quickly start building applications while you learn how to use both Expression Blend and Visual Studio to build UIs. In addition, the book addresses the needs of programmer who write the code behind the UI and shows you how operations can be performed using both XAML and C#. Topics Covered: Overview of WPF WPF in Visual Studio Expression Blend Common Properties Content Controls Layout Controls User Interaction Controls Two-Dimensional Drawing Controls Properties Pens and Brushes Events and Code-Behind Resources Styles and Property Triggers Event Triggers and Animation Templates Themes and Skins Printing Data Binding Commanding Transformations and Effects Documents Navigation-Based Applications Three-Dimensional Drawing Silverlight Even if you only have a minimal amount of experience, by the end of the book, you will be able to build dynamic and responsive user interfaces with WPF.




Practical WPF Charts and Graphics


Book Description

Creating 2D and 3D charts is one of the most common uses of computer graphics. Such charts can have wide applications in representing mathematical, physical, and economic functions in your daily life. Whether you are an engineer, a quantitative analyst, a teacher, or a student, you will end up dealing with charting applications to some degree. Windows Presentation Foundation (WPF) is a next-generation graphics platform that enables you to build advanced user interfaces incorporating documents, media, 2D and 3D graphics, and animations. It is an ideal development tool that allows you to not only generate data, but also easily represent data graphically. Practical WPF Charts and Graphics provides all the tools you will need to develop professional chart and graphics applications in WPF and C#. This book will be useful for WPF and C# programmers of all skill levels, providing a complete and comprehensive explanation of WPF's graphics capability and the creation of various charts, and paying special attention to the details of code implementation.