Dispose pattern 4704 |
||
| C# | Fons Sonnemans | |
| Code snippet for the dispose pattern | ||
TryCatch 4531 |
||
| SQL | Fons Sonnemans | |
| Adds a Try/Catch including a transaction | ||
struct 3546 |
||
| C# | Fons Sonnemans | |
| Code snippet for a readonly struct with the [StructLayout(Auto)] attribute | ||
stopwatch 3454 |
||
| C# | Fons Sonnemans | |
| Code snippet for System.Diagnostics.Stopwatch.StartNew, Stop + Log Elapsed | ||
Grid.RowDefinitions with two RowD... 3389 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grid.RowDefinitions with two RowDefinition objects | ||
eventargs 3378 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
iif 3327 |
||
| C# | Fons Sonnemans | |
| Code snippet for iif (bool ? a : b) statement | ||
propNotify 3275 |
||
| C# | Fons Sonnemans | |
| Code snippet for property with INotifyPropertyChanged.PropertyChanged notify and backing field | ||
Grid.ColumnDefinitions with two C... 3251 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grid.ColumnDefinitions with two ColumnDefinition objects | ||
event 3231 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
ifelse 3153 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
Lorem Ipsum 3118 |
||
| HTML | Fons Sonnemans | |
| Markup snippet for some Lorem Ipsum paragraphs | ||
ifelse 3088 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
Define an attached DependencyProp... 3032 |
||
| C# | Fons Sonnemans | |
| Code snippet for an attached property using DependencyProperty as the backing store | ||
Horizontal Stack Panel 3031 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a StackPanel with Horizontal Orientation | ||
Define a DependencyProperty for S... 3029 |
||
| C# | Fons Sonnemans | |
| Code snippet for a property using DependencyProperty as the backing store and a Handler for the DependencyPropertyChanged event | ||
Grouped GridView 2942 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grouped GridView | ||
Page Header 2929 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for basic page header | ||
Page Navigation 2879 |
||
| C# | Fons Sonnemans | |
| Code snippet for an Xaml Page Navigation using the Common NavigationHelper | ||
Define a Property with Notify Pro... 2610 |
||
| VB | Fons Sonnemans | |
| Defines a Property with a backing field which notifies (raises) the PropertyChanged event. | ||
clsDelegateCommand 2606 |
||
| C# | Fons Sonnemans | |
| DelegateCommand class | ||
Class Program with Main() 1847 |
||
| C# | Fons Sonnemans | |
| Class Program with Main() | ||
propsemi 979 |
||
| C# | Fons Sonnemans | |
| Code snippet for semi auto property | ||