Ищу книгу на Русском языке о WPF в .NET 4.5
Ищу книгу на Русском языке об ASP.NET MVC 4
Ищу книгу на РУСском языке об ASP.NET MVC 4 (если не ошибаюсь, 5 ещё нет даже на английском).
Ищу книгу на русском языке,в любом виде (цифровом или бумажном)
Ищу эту книгу в русском переводе: «Pointers on C»,автор Kenneth Reek.Вот ревью на.
Ищу книгу по F# на русском
Ищу книгу по F# на русском языке, гугл не дает, может есть у кого?
Ищу книгу OpenGL RedBook на русском
Люди, нет ли у кого-нибудь OpenGL RedBook(официальное руководство для программистов) на русском.
Книги по программированию стоит читать только тогда, когда зарабатываешь на программировании столько, что можешь позволить себе их покупку.
Учитесь по MSDN — там самый полный справочник с самой новой информацией — и по примерам с форумов, типа stackoverfow.com
Водяной Змей, сомнительный совет. Я учился по книге Шилдта и параллельно писал сложную на тот момент для меня софтину. Сомневаюсь, что на MSDN лучше всё преподносится.
Я бы понял, если бы такое ответил человеку консультант в книжном магазине, который знает, что у него на полках куча книг, и по 4.0, и по 4.5.
Но книгу по 4.5 на русском найти сложно, сомневаюсь, что такие сейчас вообще есть.
А что-то мне подсказывает, что топикстартеру даже до освоения 4.0 ещё пилить и пилить.
Есть в наличии дома эта книга Мак-Дональда(.NET 4.5) , скажу честно, от 4.0 практически не отличаеться.
Это как Рихтер «via CLR» последняя книга от предыдущей отличается только наличием главы о WinRT и все.
Так что качайте с торрента 4.0 и не партесь.
Добавлено через 3 часа 38 минут
Ваня Дрон, но я забыл сказать, что в 4.5 есть пара таких изменений, как внедрение слов async и await. Они довольно существеннно упрощают программирование, особенно это будет полезно при программироание на WPF.
What is Windows Presentation Foundation
Welcome to the Desktop Guide for Windows Presentation Foundation (WPF), a UI framework that creates desktop client applications for Windows. The WPF development platform supports a broad set of application development features, including an application model, controls, graphics, and data binding. WPF uses Extensible Application Markup Language (XAML) to provide a declarative model for application programming.
The Desktop Guide documentation for .NET 5 (and .NET Core) and is under construction.
There are two implementations of WPF:
The open-source implementation hosted on GitHub. This version runs on .NET Core 3.0. The WPF Visual Designer for XAML requires, at a minimum, Visual Studio 2019 version 16.3.
The .NET Framework implementation that’s supported by Visual Studio 2019 and Visual Studio 2017.
This Desktop Guide is written for .NET Core 3.0 and WPF. For more information about the existing documentation for WPF with the .NET Framework, see Framework Windows Presentation Foundation.
XAML is a declarative XML-based language that WPF uses for things such as defining resources or UI elements. Elements defined in XAML represent the instantiation of objects from an assembly. XAML is unlike most other markup languages, which are interpreted at runtime without a direct tie to a backing type system.
The following example shows how you would create a button as part of a UI. This example is intended to give you an idea of how XAML represents an object, where Button is the type and Content is a property.
XAML extensions
XAML provides syntax for markup extensions. Markup extensions can be used to provide values for properties in attribute form, property-element form, or both.
For example, the previous XAML code defined a button with the visible content set to the literal string «Click Me!» , but the content can be instead set by a supported markup extension. A markup extension is defined with opening and closing curly braces < >. The type of markup extension is then identified by the string token immediately following the opening curly brace.
WPF provides different markup extensions for XAML such as
Property system
WPF provides a set of services that can be used to extend the functionality of a type’s property. Collectively, these services are referred to as the WPF property system. A property that is backed by the WPF property system is known as a dependency property.
Dependency properties extend property functionality by providing the DependencyProperty type that backs a property. The dependency property type is an alternative implementation of the standard pattern of backing the property with a private field.
Dependency property
In WPF, dependency properties are typically exposed as standard .NET properties. At a basic level, you could interact with these properties directly and never know that they’re implemented as a dependency property.
The purpose of dependency properties is to provide a way to compute the value of a property based on the value of other inputs. These other inputs might include system properties such as themes and user preferences, or just-in-time property from data binding and animations.
A dependency property can be implemented to provide validation, default values, and callbacks that monitor changes to other properties. Derived classes can also change some specific characteristics of an existing property by overriding dependency property metadata, rather than creating a new property or overriding an existing property.
Dependency object
Another type that is key to the WPF property system is the DependencyObject. This type defines the base class that can register and own a dependency property. The GetValue and SetValue methods provide the backing implementation of the dependency property for the dependency object instance.
The following example shows a dependency object that defines a single dependency property identifier named ValueProperty . The dependency property is created with the Value .NET property.
The dependency property is defined as a static member of a dependency object type, such as TextField in example above. The dependency property must be registered with the dependency object.
The Value property in the example above wraps the dependency property, providing the standard .NET property pattern you’re probably used to.
Events
WPF provides an eventing system that is layered on top of the .NET common language runtime (CLR) events you’re familiar with. These WPF events are called routed events.
A routed event is a CLR event that is backed by an instance of the RoutedEvent class and registered with the WPF event system. The RoutedEvent instance obtained from event registration is typically retained as a public static readonly field member of the class that registers, and thus owns the routed event. The connection to the identically named CLR event (which is sometimes termed the wrapper event) is accomplished by overriding the add and remove implementations for the CLR event. The routed event backing and connection mechanism is conceptually similar to how a dependency property is a CLR property that is backed by the DependencyProperty class and registered with the WPF property system.
The main advantage of the routed event system is that events are bubbled up the control element tree looking for a handler. For example, because WPF has a rich content model, you set an image control as the content of a button control. When the mouse is clicked on the image control, you would expect it to consume the mouse events, and thus break the hit-tests that cause a button to invoke the Click event. In a traditional CLR eventing model, you would work around this limitation by attaching the same handler to both the image and the button. But with the routed event system, the mouse events invoked on the image control (such as selecting it) bubble up to the parent button control.
Data binding
WPF data binding provides a simple and consistent way for applications to present and interact with data. Elements can be bound to data from different types of data sources in the form of common language runtime (CLR) objects and XML. WPF also provides a mechanism for the transfer of data through drag-and-drop operations.
Data binding is the process that establishes a connection between the application UI and business logic. If the binding has the correct settings and the data provides the proper notifications, then, when the data changes its value, the elements that bound to the data reflect changes automatically. Data binding can also mean that if an outer representation of the data in an element changes, then the underlying data is automatically updated to reflect the change. For example, if the user edits the value in a TextBox element, the underlying data value is automatically updated to reflect that change.
Data binding can be configured in XAML through the
UI components
WPF provides many of the common UI components that are used in almost every Windows application, such as Button , Label , TextBox , Menu , and ListBox . Historically, these objects have been referred to as controls. While the WPF SDK continues to use the term control to loosely mean any class that represents a visible object in an application, it’s important to note that a class doesn’t need to inherit from the Control class to have a visible presence. Classes that inherit from the Control class contain a ControlTemplate , which allows the consumer of a control to radically change the control’s appearance without having to create a new subclass.
Styles and templates
WPF styling and templating refer to a suite of features (styles, templates, triggers, and storyboards) that allow an application, document, or UI designer to create visually compelling applications and to standardize on a particular look for their product.
Another feature of the WPF styling model is the separation of presentation and logic, which means designers can work on the appearance of an application with XAML while developers work on the programming logic elsewhere.
In addition, it’s important to understand resources, which are what enable styles and templates to be reused.
For more information, see Styles and templates.
Resources
WPF resources are objects that can be reused in different places in your application. Examples of resources include styles, templates, and color brushes. Resources can be both defined and referenced in code and in XAML format.
Every framework-level element (FrameworkElement or FrameworkContentElement) has a Resources property (which is a ResourceDictionary type) that contains defined resources. Since all elements inherit from a framework-level element, all elements can define resources. It’s most common, however, to define resources on a root element of a XAML document.
WPF: Windows Presentation Foundation в .NET 4.5
Книга «WPF: Windows Presentation Foundation в .NET 4.5 с примерами на C# 5.0 для профессионалов» представляет собой исчерпывающее авторитетное руководство по внутренней работе WPF. Благодаря серьезным примерам и практическим рекомендациям, вы изучите все, что необходимо знать для профессионального использования WPF.
Книга начинается с построения прочного фундамента из элементарных концепций, подкрепленного существующими знаниями языка C#. Затем предлагается обсуждение сложных концепций с их демонстрацией на полезных примерах, которые подчеркивают получаемую экономию времени и затраченных усилий
Платформа Windows Presentation Foundation (WPF) от Microsoft предоставляет инфраструктуру разработки, предназначенную для построения высококачественных пользовательских интерфейсов для операционной системы Windows. Она сочетает в себе насыщенный контент из широкого диапазона источников и позволяет получить неограниченный доступ ко всей вычислительной мощи компьютера, функционирующего под управлением Windows.
В книге «WPF: Windows Presentation Foundation в .NET 4.5 с примерами на C# 5.0 для профессионалов» подробно рассматриваются следующие темы
- Фундаментальные основы программирования для WPF, начиная с XAML и заканчивая элементами управления и потоком данных
- Разработка реалистичных приложений, позволяющих увидеть навигацию, локализацию и развертывание в действии
- Исследование расширенных элементов управления пользовательского интерфейса, которые предлагаются WPF
- Изучение способов управления документами внутри WPF: компоновка текста, вывод на печать и упаковка документов
- Использование графики и мультимедиа для совершенствования приложений
Книга рассчитана на разработчиков, которые впервые сталкиваются с WPF. Опыт программирования на C# и знание базовой архитектуры .NET поможет быстрее разобраться с примерами, но все необходимые концепции кратко объясняются с самого начала.
Здесь можно скачать книгу «WPF: Windows Presentation Foundation в .NET 4.5» для ознакомления (бесплатный PDF фрагмент от правообладателя), почитать онлайн или купить полную электронную версию в форматах FB2, PDF, EPUB, TXT, FB3, MOBI.