Dispose pattern 4506 |
||
| C# | Fons Sonnemans | |
| Code snippet for the dispose pattern | ||
TryCatch 4420 |
||
| SQL | Fons Sonnemans | |
| Adds a Try/Catch including a transaction | ||
stopwatch 3363 |
||
| C# | Fons Sonnemans | |
| Code snippet for System.Diagnostics.Stopwatch.StartNew, Stop + Log Elapsed | ||
struct 3360 |
||
| C# | Fons Sonnemans | |
| Code snippet for a readonly struct with the [StructLayout(Auto)] attribute | ||
eventargs 3287 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
iif 3238 |
||
| C# | Fons Sonnemans | |
| Code snippet for iif (bool ? a : b) statement | ||
Grid.RowDefinitions with two RowD... 3193 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grid.RowDefinitions with two RowDefinition objects | ||
propNotify 3193 |
||
| C# | Fons Sonnemans | |
| Code snippet for property with INotifyPropertyChanged.PropertyChanged notify and backing field | ||
event 3150 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
Grid.ColumnDefinitions with two C... 3071 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grid.ColumnDefinitions with two ColumnDefinition objects | ||
ifelse 3047 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
Lorem Ipsum 3022 |
||
| HTML | Fons Sonnemans | |
| Markup snippet for some Lorem Ipsum paragraphs | ||
ifelse 2996 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
Define a DependencyProperty for S... 2952 |
||
| C# | Fons Sonnemans | |
| Code snippet for a property using DependencyProperty as the backing store and a Handler for the DependencyPropertyChanged event | ||
Horizontal Stack Panel 2944 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a StackPanel with Horizontal Orientation | ||
Define an attached DependencyProp... 2940 |
||
| C# | Fons Sonnemans | |
| Code snippet for an attached property using DependencyProperty as the backing store | ||
Grouped GridView 2846 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grouped GridView | ||
Page Header 2837 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for basic page header | ||
Page Navigation 2797 |
||
| C# | Fons Sonnemans | |
| Code snippet for an Xaml Page Navigation using the Common NavigationHelper | ||
clsDelegateCommand 2520 |
||
| C# | Fons Sonnemans | |
| DelegateCommand class | ||
Define a Property with Notify Pro... 2512 |
||
| VB | Fons Sonnemans | |
| Defines a Property with a backing field which notifies (raises) the PropertyChanged event. | ||
Class Program with Main() 1652 |
||
| C# | Fons Sonnemans | |
| Class Program with Main() | ||
propsemi 803 |
||
| C# | Fons Sonnemans | |
| Code snippet for semi auto property | ||