How to prevent collection modifications in .NET


Hello. Today I am going to write short article about one particularly useful method AsReadOnly that can be found on List<T> and Array classes.

Read the rest of this entry

How to use ConditionalAttribute


 

Hello, today I will show you how to use ConditionalAttribute from .NET.

Read the rest of this entry

WPF DataGrid – simple sorting behavior customization via ViewModel


Hi guys Smile.

I haven’t written here so long that I started to miss my blogging sessions. Today I’m going to write about WPF DataGrid sorting scenario I’ve faced recently and simple solution that has helped me.

Read the rest of this entry

How to bind to control properties from ControlTemplate


Hi guysSmile. Today I will show you how to bind to control properties from ControlTemplate.

Read the rest of this entry

How to use Image Component in WPF


Hi. Today I will show how to add some image to your application and show it in the Image component.

Read the rest of this entry

How to use RelativeSource binding


Hello. Today I’m going to show how you can access certain element in tree via RelativeSource binding.

Read the rest of this entry

How to apply style for ScrollBar placed in template of another control


Hello. Today I’ll show how to apply style for ScrollBar in WPF for control that internally uses it.

Read the rest of this entry

How to perform binding to data placed in Resources


Hello,

Today I’ll show you how you can use static binding extension from the WPF to perform binding to data placed in resources.

Read the rest of this entry

How to use DataTrigger from Microsoft.Expression.Interactions


Hi,

Recently I was working using WPF and needed to implement one behavior – change element property whenever underlying bound object changes its property.

Read the rest of this entry

Routed Events creation in WPF


 

Hi. In my previous article I described what routed events are and today I’ll show you how you can create your own routed events.

Read the rest of this entry

Follow

Get every new post delivered to your Inbox.

Join 269 other followers