Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Monday, October 13, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase
Search:
What's New - What's Hot
More Categories for .NET Namespaces .NET Namespaces (1908)
.NET Framework Namespaces
More Categories for Applications Applications (868)
Management, Email, Graphics, Search..
More Categories for Articles & Samples Articles & Samples (36069)
Assembly, Caching, Controls, Reflection..
More Categories for Community Community (94)
Conferences, Chat Rooms, Jobs, Training..
More Categories for Component & Controls Component & Controls (979)
Forums, Management, Email, more..
More Categories for Developers Sites Developers Sites (130)
Sites dedicated to developer community..
More Categories for Developers Training Developers Training (232)
Training CD-ROMs, Videos, Courseware..
More Categories for Downloads Downloads (312)
Service Packs, Code, Msdn Show..
More Categories for Hosting Services Hosting Services (137)
ASP and ASP.Net Hosting sites..
More Categories for Introduction Introduction (315)
ASP, ADO.Net, C#, VB.NET, XML
More Categories for Knowledge Base Knowledge Base (2199)
Knowledge Base Articles, Samples, Tutorials, HowTos...
More Categories for Sample Chapters Sample Chapters (222)
Sample Chapters from Developer Books..
More Categories for Silverlight Silverlight (141)
Silverlight
More Categories for Support WebCasts Support WebCasts (631)
Microsoft's Support WebCasts

WPF Data Binding - Part 1        
Total Hits: 0  |  Today: 0 Author: Joel Ivory Johnson       Rating:  
Read Reviews | Write Review |   Your 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...

Simplifying the WPF TreeView by Using the ViewModel Pattern        
Total Hits: 2  |  Today: 2 Author: Josh Smith       Rating:  
Read Reviews | Write Review |   Your 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)....

Introduction to the WPF DataGrid        
Total Hits: 1  |  Today: 1 Author: rudigrobler       Rating:  
Read Reviews | Write Review |   Your 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...

WPF Arrow and Custom Shapes        
Total Hits: 2  |  Today: 2 Author: Tomer Shamam       Rating:  
Read Reviews | Write Review |   Your 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....

WPFDesigner        
Total Hits: 1  |  Today: 1 Author: Victor Hurdugaci       Rating:  
Read Reviews | Write Review |   Your 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...

A Microsoft Office Style WPF Application Button        
Total Hits: 2  |  Today: 2 Author: Derek Bartram       Rating:  
Read Reviews | Write Review |   Your 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 ...

GIF animation in WPF        
Total Hits: 1  |  Today: 1 Author: Zoltan23       Rating:  
Read Reviews | Write Review |   Your 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....

A WPF Digital Clock        
Total Hits: 1  |  Today: 1 Author: Derek Bartram       Rating:  
Read Reviews | Write Review |   Your 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....

WPF ProcessingContentControl        
Total Hits: 1  |  Today: 1 Author: Yaakov Davis       Rating:  
Read Reviews | Write Review |   Your 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...

A more generic way of sorting a WPF ListView with IComparer        
Total Hits: 1  |  Today: 1 Author: wpfdevelopment.com       Rating:  
Read Reviews | Write Review |   Your 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...

WPF Slider Menu        
Total Hits: 2  |  Today: 2 Author: Matt Brunell       Rating:  
Read Reviews | Write Review |   Your 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 ...

Unified modeling language ( UML ) interview questions part 2        
Total Hits: 1  |  Today: 1 Author: Shivprasad koirala       Rating:  
Read Reviews | Write Review |   Your 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....


DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net