|
|
|
.NET Namespaces (1908) .NET Framework Namespaces | Applications (868) Management, Email, Graphics, Search.. | Articles & Samples (36080) Assembly, Caching, Controls, Reflection.. | Community (94) Conferences, Chat Rooms, Jobs, Training.. | Component & Controls (979) Forums, Management, Email, more.. | Developers Sites (130) Sites dedicated to developer community.. | Developers Training (232) Training CD-ROMs, Videos, Courseware.. | Downloads (312) Service Packs, Code, Msdn Show.. | Hosting Services (137) ASP and ASP.Net Hosting sites.. | Introduction (315) ASP, ADO.Net, C#, VB.NET, XML | Knowledge Base (2199) Knowledge Base Articles, Samples, Tutorials, HowTos... | Sample Chapters (222) Sample Chapters from Developer Books.. | Silverlight (141) Silverlight | Support WebCasts (631) Microsoft's Support WebCasts |
|
|
|
|
Total Hits: 0 | Today: 0
|
Author: Joel Ivory Johnson
|
Rating:
|
|

Conventionally, in Windows Forms and ASP.NET applications, data binding was primarily used for populating elements on the screen with information; there was simple data binding for displaying single values, and complex data binding for displaying and formatting a collection of data. The beauty of data binding is that you can populate the interface while writing little to no code. With data binding in WPF you can take data from almost any property of any object and bind it to almost any other dep...
|
|
|
|
Total Hits: 3 | Today: 3
|
Author: Josh Smith
|
Rating:
|
|

This article explores how to use the ViewModel pattern to make it easier to work with the TreeView control in WPF. Along the way, we examine why people often have difficulty with the WPF TreeView, what a ViewModel is, and two demo applications that show how to combine a TreeView with a ViewModel. One of the demos shows how to create a searchable TreeView, the other demonstrates how to implement lazy-loading (a.k.a. load-on-demand)....
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: rudigrobler
|
Rating:
|
|

After WPF was released without a DataGrid, Microsoft received loads of criticism! Thy have finally released the highly anticipated DataGrid (CTP)! Here is a short introduction on how to use the DataGrid Download the WPFToolkit here To run my sample application, also install the Northwind database Create a blank WPF application and add a new item (LINQ-to-SQL Class). Drag the required tables from the Northwind database onto the design surface...
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Tomer Shamam
|
Rating:
|
|

WPF is the best UI Framework ever. It provides us with a large arsenal of vector graphic types such as Line, Ellipse, Path and others. Sometimes we need shapes which are not provided in the WPF arsenal (such an Arrow), and with all due respect to the Path shape, which can be used to create any type of 2D shape, we do not want to recalculate each point every time. This is a good reason and opportunity to create a custom shape....
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Victor Hurdugaci
|
Rating:
|
|

Because WPF doesn't have a designer component by default - something that allows to add controls on it and move/resize them - one must be created. There are many solutions for this problem but as far as I know there is no one that provides the ability to add/remove controls without manually wrapping them in custom control. WPF Designer is basically a canvas on which you can add anything that derives from FrameworkElement. When a control is added, it is not placed directly on the canvas but in...
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Derek Bartram
|
Rating:
|
|

This article presents the ApplicationButton class and its use in creating round buttons for WPF use, specifically for application buttons as per Microsoft Office applications. The application button in Microsoft Office applications is used for opening application wide options such as Save, Open, and Exit; it is analogist to the start button of Microsoft Windows. The following screenshot of Microsoft Office Word indicates the application button via a red box. While the source code was created as ...
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Zoltan23
|
Rating:
|
|

I found solution for gif animation only using windows forms. Based on this i solved the problem in wpf (.net 3.5). The main trick is using Graphics instead of DrawingContext. It works properly only if the background is solid color brush, because calling FillRectangle() is necessary....
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Derek Bartram
|
Rating:
|
|

This article presents a digital clock written using C# .Net 3.5 and Windows Presentation Foundation (WPF), with a version supporting styling using the RibbonStyleHandler from the Ribbon Control Library (and hence allowing styling consistent with RibbonWindow applications). This is VERY simple, to create a new clock window, make a new instance of DigitalClockWindow! To add a control to an existing window, use DigitalClockControl....
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Yaakov Davis
|
Rating:
|
|

Sometimes you want to provide feedback to the user while the data displayed inside a certain control is loaded / processed, updated, etc. An obvious example is media player. ProcessingContentControl lets you achieve this goal. Host any element inside ProcessingContentControl. Set IsContentProcessing property to toggle processing mode. When the property is set to true, an overlay layer will appear, blocking interaction with the hosted element. The overlay layer displays animated progress view, as...
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: wpfdevelopment.com
|
Rating:
|
|

By default, there is no easy way of sorting a ListView in WPF. While there is a sample available on MSDN on how to sort a ListView, it isn’t very satisfying. The sample sorts the ListView based on the header of the column instead of the actual DisplayMemberBinding attribute. This is not an optimal solution, because column headers don’t necessarily contain text. Secondly, it could be that the column header differs from the actual property name. In addition to that, I assume that this isn’t workin...
|
|
|
|
Total Hits: 3 | Today: 3
|
Author: Matt Brunell
|
Rating:
|
|

A slider menu control is a useful tool to put into your toolbox. It can be used to control anything which takes a range. Useful applications include a zoom control or a rotate control. Putting this slider into a menu is a good way to present this control because it makes it easy to reach, yet does not add visual clutter. # Displays a WPF slider control in a menu element along with child menu that specify individual values. # The binding is two way. The SliderMenuItem can be either the source ...
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Shivprasad koirala
|
Rating:
|
|

In my previous section we had concentrated on design patterns which is one of the most important fundamentals for architecture interviews. In case you have missed it below are the link. One of the other areas other than design patterns which needs to be stronger for architects is putting appropriate UML diagrams in design document....
|
|
|
|
|
|