Windows presentation foundation development cookbook 100 recipes to build rich desktop client applications on windows

Gain comprehensive insight into WPF mechanics and capabilities. About This Book Gain a strong foundation in WPF features and patterns Leverage the MVVM pattern to build decoupled, maintainable apps Increase efficiency through Performance tuning and UI automation Who This Book Is For The book is inte...

Descripción completa

Detalles Bibliográficos
Otros Autores: Chowdhury, Kunal, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, [England] ; Mumbai, [India] : Packt Publishing 2018.
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009631643406719
Tabla de Contenidos:
  • Cover
  • Copyright and Credits
  • Packt Upsell
  • Contributors
  • Table of Contents
  • Preface
  • Chapter 1: WPF Fundamentals
  • Introduction
  • The WPF Architecture
  • Presentation Framework
  • Presentation Core
  • Common Language Runtime
  • Media Integration Library
  • OS Core
  • Types of WPF applications
  • The XAML overview
  • XAML syntax terminologies
  • Object element syntax
  • Property Attribute syntax
  • Property Element syntax
  • Content syntax
  • Collection syntax
  • Event Attribute syntax
  • Installing WPF Workload with Visual Studio 2017
  • Getting ready
  • How to do it...
  • Creating WPF applications
  • Getting ready
  • How to do it...
  • There's more...
  • Creating and navigating from one window to another
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Creating and navigating from one page to another
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Creating a dialog box
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using the open file dialog
  • Using the save file dialog
  • Using the print dialog
  • Other common dialogs
  • Creating ownership between windows
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Creating a single instance application
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Passing arguments to WPF applications
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Handling unhandled exceptions
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Chapter 2: Using WPF Standard Controls
  • Introduction
  • Using the TextBlock control to add plain text
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using Label to add other controls in text
  • Getting ready
  • How to do it...
  • How it works.
  • There's more...
  • Providing a user option to input text
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Windows Clipboard support
  • Adding spellcheck support
  • Adding images to your application UI
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Working with ready-to-use 2D shapes
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Adding tooltips to show additional information
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Adding a standard menu to the WPF application
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Adding an access key to menus
  • Adding icons to menus
  • Adding checkable menu items
  • Adding click-event handlers to menus
  • Providing extra functionalities using the context menu
  • Getting ready
  • How to do it...
  • How it works...
  • Adding user options with radio buttons and checkboxes
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Working with the progress bar control
  • Getting ready
  • How to do it...
  • How it works...
  • Using the Slider control to pick a numeric value
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using the Calendar control in your application
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • The SelectionModes property
  • The DisplayDate property
  • The DisplayMode property
  • The BlackoutDates property
  • Listing items in a Listbox control
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Implementing multi selection
  • Customizing the ListBoxItem with multiple controls
  • Providing options to select from a ComboBox
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Adding a status bar to your window
  • Getting ready.
  • How to do it...
  • How it works...
  • Adding a toolbar panel to perform quick tasks
  • Getting ready
  • How to do it...
  • How it works...
  • Chapter 3: Layouts and Panels
  • Introduction
  • Building a UI layout using a Grid
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Creating a resizable Grid
  • Spanning elements across multiple rows and/or columns
  • Placing elements in uniform cells
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Setting the row and column count
  • Defining the first cell of the UniformGrid
  • Filling elements from right to left
  • Automatically repositioning controls using WrapPanel
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Placing controls in a Stack
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Positioning controls inside a Canvas
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Wrapping UI elements using a Border
  • Getting ready
  • How to do it...
  • How it works...
  • Creating a scrollable panel
  • Getting ready
  • How to do it...
  • How it works...
  • Docking controls using the DockPanel
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Rescaling UI elements using a ViewBox
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Creating a tabbed layout
  • Getting ready
  • How to do it...
  • How it works...
  • Dynamically adding/removing elements in a panel
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Implementing the drag and drop feature
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Chapter 4: Working with Data Bindings
  • Introduction
  • Working with CLR properties and UI notifications
  • Getting ready
  • How to do it...
  • How it works...
  • There's more.
  • Working with dependency properties
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Working with attached properties
  • Getting ready
  • How to do it...
  • How it works...
  • Data binding to an object
  • Getting ready
  • How to do it...
  • How it works...
  • Data binding to a collection
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Element-to-element data binding
  • Getting ready
  • How to do it...
  • How it works...
  • Sorting data in a DataGrid control
  • Getting ready
  • How to do it...
  • How it works...
  • Grouping data in a DataGrid control
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Filtering data in a DataGrid control
  • Getting ready
  • How to do it...
  • How it works...
  • Using static bindings
  • Getting ready
  • How to do it...
  • How it works...
  • Using value converters
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using multi-value converters
  • Getting ready
  • How to do it...
  • How it works...
  • Chapter 5: Using Custom Controls and User Controls
  • Introduction
  • Creating a custom control
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • XMLNS attribute declaration
  • Default styling
  • Toolbox integration
  • Customizing the template of a custom control
  • Getting ready
  • How to do it...
  • How it works...
  • Exposing properties from the custom control
  • Getting ready
  • How to do it...
  • How it works...
  • Exposing events from a custom control
  • Getting ready
  • How to do it...
  • How it works...
  • Extending the functionality of a control using behavior
  • Getting ready
  • How to do it...
  • How it works...
  • Creating a User Control interface
  • Getting ready
  • How to do it...
  • How it works...
  • Exposing events from a User Control
  • Getting ready
  • How to do it.
  • How it works...
  • Customizing the XMLNS namespace
  • Getting ready
  • How to do it...
  • How it works...
  • Chapter 6: Using Styles, Templates, and Triggers
  • Introduction
  • Creating the style of a control
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Creating the Style of a control based on another Style
  • Getting ready
  • How to do it...
  • How it works...
  • Applying Style to a control automatically
  • Getting ready
  • How to do it...
  • How it works...
  • Editing the template of any control
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Creating a property trigger
  • Getting ready
  • How to do it...
  • How it works...
  • Creating a multi trigger
  • Getting ready
  • How to do it...
  • How it works...
  • Creating a data trigger
  • Getting ready
  • How to do it...
  • How it works...
  • Creating a multi data trigger
  • Getting ready
  • How to do it...
  • How it works...
  • Creating an event trigger
  • Getting ready
  • How to do it...
  • How it works...
  • Chapter 7: Using Resources and MVVM Patterns
  • Introduction
  • Using binary resources inside a WPF application
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using binary resources from another assembly
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Accessing binary resources in code
  • Getting ready
  • How to do it...
  • How it works...
  • Using static logical resources in WPF
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using dynamic logical resources in WPF
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Managing logical resources
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using user selected colors and fonts
  • Getting ready
  • How to do it...
  • How it works.
  • There's more.