TryCatch 4258 |
||
| SQL | Fons Sonnemans | |
| Adds a Try/Catch including a transaction | ||
Dispose pattern 4227 |
||
| C# | Fons Sonnemans | |
| Code snippet for the dispose pattern | ||
stopwatch 3194 |
||
| C# | Fons Sonnemans | |
| Code snippet for System.Diagnostics.Stopwatch.StartNew, Stop + Log Elapsed | ||
eventargs 3125 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
iif 3093 |
||
| C# | Fons Sonnemans | |
| Code snippet for iif (bool ? a : b) statement | ||
struct 3088 |
||
| C# | Fons Sonnemans | |
| Code snippet for a readonly struct with the [StructLayout(Auto)] attribute | ||
propNotify 3057 |
||
| C# | Fons Sonnemans | |
| Code snippet for property with INotifyPropertyChanged.PropertyChanged notify and backing field | ||
event 2995 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
Grid.RowDefinitions with two RowD... 2891 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grid.RowDefinitions with two RowDefinition objects | ||
ifelse 2889 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
Lorem Ipsum 2857 |
||
| HTML | Fons Sonnemans | |
| Markup snippet for some Lorem Ipsum paragraphs | ||
ifelse 2846 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
Define a DependencyProperty for S... 2815 |
||
| C# | Fons Sonnemans | |
| Code snippet for a property using DependencyProperty as the backing store and a Handler for the DependencyPropertyChanged event | ||
Define an attached DependencyProp... 2780 |
||
| C# | Fons Sonnemans | |
| Code snippet for an attached property using DependencyProperty as the backing store | ||
Grid.ColumnDefinitions with two C... 2765 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grid.ColumnDefinitions with two ColumnDefinition objects | ||
Horizontal Stack Panel 2751 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a StackPanel with Horizontal Orientation | ||
Grouped GridView 2684 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for a Grouped GridView | ||
Page Navigation 2652 |
||
| C# | Fons Sonnemans | |
| Code snippet for an Xaml Page Navigation using the Common NavigationHelper | ||
Page Header 2648 |
||
| XAML | Fons Sonnemans | |
| XAML snippet for basic page header | ||
clsDelegateCommand 2381 |
||
| C# | Fons Sonnemans | |
| DelegateCommand class | ||
Define a Property with Notify Pro... 2359 |
||
| VB | Fons Sonnemans | |
| Defines a Property with a backing field which notifies (raises) the PropertyChanged event. | ||
Class Program with Main() 1362 |
||
| C# | Fons Sonnemans | |
| Class Program with Main() | ||
propsemi 522 |
||
| C# | Fons Sonnemans | |
| Code snippet for semi auto property | ||