Windows Presentation Foundation Samples
The Windows Presentation Foundation (WPF) samples are divided into two categories: Application samples and Technology samples.
Application samples are end-to-end applications that demonstrate multiple platform features. These samples are intended to show real world usage scenarios, and are an effective way to see the breadth of WPF.
Technology samples are targeted to a specific technology area, such as Controls or Animation. These samples demonstrate specific usage scenarios or features, and are generally not end-to-end applications.
Here is the Link :
http://msdn2.microsoft.com/en-us/library/ms771633.aspx
Friday, August 31, 2007
Thursday, August 30, 2007
IValueConverter sample
This sample will show you how to use IValueConverter in WPF. It is very handy and very impt concept.Dont miss it.
Here we will populate the DataTable and bind it to the DataContext of the ListView
Now go to XAML and use Styles and triggers to implement our logic of Age as shown below:
Now to support Static Resource ValueConv which we have used above in Style, Create a class which implements IValueConerteras shown below
Nice example to know about 3D in WPF
This is a nice sample to learn basic on 3D. i found this one in msdn. I think anyone interested in 3d designing shud refere to this link :
http://msdn2.microsoft.com/en-us/library/ms752082.aspx
http://msdn2.microsoft.com/en-us/library/ms752082.aspx
Blinking Button
This is a small code where in i have used Styles, Triggers and a bit of animation of WPF.I have created a custom button which blinks(glows) as it gets loaded. Check it out.To understand a concept of Styles, Triggers, i have kept this sample as simple as possible. For that i have used three ellipses so that code doesnt become heavy to understand.Lets see ...
In resources section i have created a style for an ellipse.In this way we can reuse the style for different ellipses.Other way is creating inline style for an element where u can apply style to that particular element. Click on the beow source code to view it.
Let me know ur comments
In resources section i have created a style for an ellipse.In this way we can reuse the style for different ellipses.Other way is creating inline style for an element where u can apply style to that particular element. Click on the beow source code to view it.
Let me know ur comments
Labels:
Animation,
Blinking Button,
Button,
Styles and Triggers,
WPF button,
XAML button
Hi all
Hi frnds, I have started this blog i order to help you people. Initially will post small coding snippets which will cover important concepts and implementations. I would be glad if you people respond to my posts and help me to improve my posts. If you have any suggestions, commens or if you want to contribute to my blog, you all are welcomed. So Lets boogie.
Subscribe to:
Posts (Atom)