Quantcast
Channel: ferocia animi
Browsing all 33 articles
Browse latest View live
↧

Some samples of "101 LINQ Samples" aren't valid.

My previous post (101 LINQ Samples) refers to very interesting samples. But I didn't pay attention that it is announcement as "future" features. So some of these samples aren't valid (were not...

View Article


Image may be NSFW.
Clik here to view.

Implementing support of own child/children in WPF control.

Download source files - hereDownload bin files - hereThe best way for use child/children in WPF is customize any control with property for child/children that inherit from Control (for example...

View Article


Image may be NSFW.
Clik here to view.

Trips&Ticks: Set custom presented view for enum's fields in WPF.

Download source files - here.Download bin files - here.How you know, Enum can have underlying type as byte, sbyte, short, ushort, int, uint, long, or ulong. Often and often we need to present a view of...

View Article

This whimsical binding. TwoWay Binding to DataContext. Binding in WPF part 3.

I often use Binding to DataContext. It is one of the main advantage of WPF. In most case I set custom class inherit of DependencyObject (for support DependencyProperty) and I have some like next...

View Article

Image may be NSFW.
Clik here to view.

Do you know about nested class that.. ?

Download source files - hereDo you know about nested class that you can make nested class as partial? Yep, You can do it. Exactly your main class should be partial too.

View Article


Image may be NSFW.
Clik here to view.

Do you know about LINQ that.. ?

Do you know about LINQ to SQL that attribute is more important than value? What is it mean? My friend have found interesting relation. He had written LINQ to SQL where he checked a column value to null...

View Article

Image may be NSFW.
Clik here to view.

LINQPad (new version) - nice tool that can help you to stady LINQ.

LINQPad is nice tool that can help you to study LINQ. I have read firs overview of this tool. Absence auto-complete grieves most people. Auto-complete is present in new version. This option requiring...

View Article

Trips&Ticks: Do you know how you can unsubscribe from anonymous method?

Anonymous Methods is a useful feature which we receive in Framework 2.0. It allows to easy pass a small code block as a delegate parameter (you can set a large block code but this code will be harmful...

View Article


Image may be NSFW.
Clik here to view.

Performance degrades in your Silverlight App!? What can you do?

Some time ago I had written Silverlight app and I confronted with difficulties of difference between WPF and Silverlight :). When I had vanquished mismatches I found that performance of my app was...

View Article


Image may be NSFW.
Clik here to view.

How to implement TextBox with PlaceHolder in WPF

Download source files - hereUsing PlaceHolder is very useful thing for UI in any type application. I want to show a short way how can you implement it in WPF.You can custom TextBox and add place-holder...

View Article

Image may be NSFW.
Clik here to view.

Zoom and page changed events for FlowDocumentPageViewer

Download source files - hereMy old known Bala send to me this link.Kent Boogaart has written an article that describes approach searching and highlighting text in FlowDocumentPageViewer - Search and...

View Article

Image may be NSFW.
Clik here to view.

Useful code snippets for WPF developer.

Download snippets - hereI want to share very useful in my opinion code snippets for WPF developers. Most of they were created my friend - Dmitrij Zakharov. Moreover I want to add a short description to...

View Article

Image may be NSFW.
Clik here to view.

Web access to Team Foundation Server.

I have been starting to work with Team Foundation Server as source control and bag tracking system for 2 month. In this time we migrated from one TFS to another. So sometime we needed access to both...

View Article


Image may be NSFW.
Clik here to view.

Trips&Ticks: How to implement GroupName for RadioButton in WPF DataGrid's...

Download source files - hereIt is very easy. We should use DataGridTemplateColumn for this. My acquaintance requested to me show it. I added source code where implemented this.Some notes:You should...

View Article

Image may be NSFW.
Clik here to view.

Zoom event for FlowDocumentPageViewer (corrected)

Download source files - hereWhen I wrote my article Zoom and page chaged events for FlowDocumentPageViewer I make mistake, you can read about it - there. However Martin offer solution for this problem....

View Article


Image may be NSFW.
Clik here to view.

Trips&Ticks: Easy way to navigate from XAML to class's definition.

Working with XAML code in VS2008 I have just found that I can easy jump to class's or property definition. If I press CTRL and click left mouse button on certain class or property in XAML I will be...

View Article

Image may be NSFW.
Clik here to view.

Trimmed TextBlock for Silverlight.

Download source files - hereNot always Silverlight TextBlock that contains long text has enough space for shows all this text. TextBlock clips text in this case - this behaviour isn't best way for...

View Article


Image may be NSFW.
Clik here to view.

Unit Tests for ASP.NET MVC application that uses resources in code behind.

Download source files - here.Some time ago I start to play with ASP.NET MVC. It is very well pattern and Microsoft made nice choose that implemented it for ASP.NET in my opinion.I started a project...

View Article

ASP.NET MVC aplication inside in an iframe (fix issue with empty session).

I developed application using ASP.NET MVC framework. It worked well but when I put my app inside of iframe I founded that in some case in Internet Explorer application missed session.I started to...

View Article

"using" directive in aspx's pages.

It is funny but I don't know about this. I used full name of type (namespace+type name) in aspx pages. It is unnecessary. ASP.NET has directive for this.<%@ Import namespace="value" %>Sometime we...

View Article
Browsing all 33 articles
Browse latest View live