Dispose pattern 4671 |
||
| C# | Fons Sonnemans | |
| Code snippet for the dispose pattern | ||
TryCatch 4511 |
||
| SQL | Fons Sonnemans | |
| Adds a Try/Catch including a transaction | ||
struct 3511 |
||
| C# | Fons Sonnemans | |
| Code snippet for a readonly struct with the [StructLayout(Auto)] attribute | ||
stopwatch 3439 |
||
| C# | Fons Sonnemans | |
| Code snippet for System.Diagnostics.Stopwatch.StartNew, Stop + Log Elapsed | ||
eventargs 3361 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
Grid.RowDefinitions with two RowD... 3360 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grid.RowDefinitions with two RowDefinition objects | ||
iif 3309 |
||
| C# | Fons Sonnemans | |
| Code snippet for iif (bool ? a : b) statement | ||
propNotify 3259 |
||
| C# | Fons Sonnemans | |
| Code snippet for property with INotifyPropertyChanged.PropertyChanged notify and backing field | ||
Grid.ColumnDefinitions with two C... 3221 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grid.ColumnDefinitions with two ColumnDefinition objects | ||
event 3213 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
ifelse 3131 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
Lorem Ipsum 3104 |
||
| HTML | Fons Sonnemans | |
| Markup snippet for some Lorem Ipsum paragraphs | ||
ifelse 3071 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
Horizontal Stack Panel 3018 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a StackPanel with Horizontal Orientation | ||
Define an attached DependencyProp... 3015 |
||
| C# | Fons Sonnemans | |
| Code snippet for an attached property using DependencyProperty as the backing store | ||
Define a DependencyProperty for S... 3013 |
||
| C# | Fons Sonnemans | |
| Code snippet for a property using DependencyProperty as the backing store and a Handler for the DependencyPropertyChanged event | ||
Grouped GridView 2925 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grouped GridView | ||
Page Header 2911 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for basic page header | ||
Page Navigation 2863 |
||
| C# | Fons Sonnemans | |
| Code snippet for an Xaml Page Navigation using the Common NavigationHelper | ||
clsDelegateCommand 2589 |
||
| C# | Fons Sonnemans | |
| DelegateCommand class | ||
Define a Property with Notify Pro... 2587 |
||
| VB | Fons Sonnemans | |
| Defines a Property with a backing field which notifies (raises) the PropertyChanged event. | ||
Class Program with Main() 1805 |
||
| C# | Fons Sonnemans | |
| Class Program with Main() | ||
propsemi 950 |
||
| C# | Fons Sonnemans | |
| Code snippet for semi auto property | ||