wpf free tutorial

Page 1

Tekslate WPF FREE TUTORIAL


Introduction to WPF History of WPF User 32 standard controls This is first step for Microsoft towards GUI based environment This API provides support to standard controls like textboxes, buttons, labels etc. GDI [graphical Device Interface] This is enhancement of user 32 API and provides drawing capabilities likes circles. Rectangles, lines But does not support the images. GDI This API is enhancement of GDI which provide extra functionalities JPG, bitmap but does not support animations, 3D, Hardware accelerations etc Direct X It supports hardware accelerations, animations, 3D and it is completely limited far gaming, programming. But direct X cannot used for commercial application developments


Events in WPF Events The events associated with any control or window in WPF are known as Rooted events WPF supports 3 – types of rooted events

Direct Events Bubbling Events Tunneling Events Direct Events:- These are coursed directly when user clicks on the particular control Click event of a button Checked changed button of a radio button or checkbox Selected index changed event of a list box etc


WPF CONTROLS 1.Button controls Button epeat Button 2.Data Display controls •Data grid view •List view •Tree view 3.Data display & selection controls •Calendar •Date time picker 4.Dialog boxes •Open file dialog •Sure file dialog cu •Print dialog 5.Data link controls •Ink canvas •Ink presenter


Architecture of WPF WPF Architecture


Documents in WPF Working with documents in WPF WPF offers oc wide range of document features that enable the creation of high quality content that is designed to be more easily accessed & read as compared with windows form application& WPF documents also provides integrated services for document display, packaging & security. Type:WPF documents are divided into two categories Fixed documents Flow documents


Gradient Origin in WPF Gradient Origin To Fill the colors in elliptically we use following properties with Radial Gradient Brush Gradient Origin Center Radius X Radius Y Eg to fill the colors elliptically in a rectangle

Create a new window ↓ Go to xaml source ↓ write the following code within grid ↓


Attached properties in WPF

In General when we work with WPF we use the control hierarchies work with WPF we use the control hierarchies when we are creating. In general when we create any other control i.e in parent control are child controls will get the required properties of parent control attached to it These properties of parent controls attached to its child controls are known as attached properties. Doc Panels This control is used to place the controls on the borders of the window or on the top order or left border or bottom border etc‌


And Also Issues Interview Questions How to’s For More WPF Free Tutorials Please Visit: http://bit.ly/1t80Qac


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.