Dispose pattern 4312 |
||
| C# | Fons Sonnemans | |
| Code snippet for the dispose pattern | ||
TryCatch 4305 |
||
| SQL | Fons Sonnemans | |
| Adds a Try/Catch including a transaction | ||
stopwatch 3242 |
||
| C# | Fons Sonnemans | |
| Code snippet for System.Diagnostics.Stopwatch.StartNew, Stop + Log Elapsed | ||
eventargs 3172 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
struct 3167 |
||
| C# | Fons Sonnemans | |
| Code snippet for a readonly struct with the [StructLayout(Auto)] attribute | ||
iif 3135 |
||
| C# | Fons Sonnemans | |
| Code snippet for iif (bool ? a : b) statement | ||
propNotify 3094 |
||
| C# | Fons Sonnemans | |
| Code snippet for property with INotifyPropertyChanged.PropertyChanged notify and backing field | ||
event 3037 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
Grid.RowDefinitions with two RowD... 2972 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grid.RowDefinitions with two RowDefinition objects | ||
ifelse 2938 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
Lorem Ipsum 2914 |
||
| HTML | Fons Sonnemans | |
| Markup snippet for some Lorem Ipsum paragraphs | ||
ifelse 2889 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
Define a DependencyProperty for S... 2856 |
||
| C# | Fons Sonnemans | |
| Code snippet for a property using DependencyProperty as the backing store and a Handler for the DependencyPropertyChanged event | ||
Grid.ColumnDefinitions with two C... 2855 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grid.ColumnDefinitions with two ColumnDefinition objects | ||
Define an attached DependencyProp... 2824 |
||
| C# | Fons Sonnemans | |
| Code snippet for an attached property using DependencyProperty as the backing store | ||
Horizontal Stack Panel 2812 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a StackPanel with Horizontal Orientation | ||
Grouped GridView 2729 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grouped GridView | ||
Page Header 2706 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for basic page header | ||
Page Navigation 2699 |
||
| C# | Fons Sonnemans | |
| Code snippet for an Xaml Page Navigation using the Common NavigationHelper | ||
clsDelegateCommand 2425 |
||
| C# | Fons Sonnemans | |
| DelegateCommand class | ||
Define a Property with Notify Pro... 2402 |
||
| VB | Fons Sonnemans | |
| Defines a Property with a backing field which notifies (raises) the PropertyChanged event. | ||
Class Program with Main() 1442 |
||
| C# | Fons Sonnemans | |
| Class Program with Main() | ||
propsemi 604 |
||
| C# | Fons Sonnemans | |
| Code snippet for semi auto property | ||