Database Development
|
|
12 Sep 2018
Updated: 12 Sep 2018
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 14,214
Bookmarked: 2
Downloaded: 173
Method to change source of a Form’s Subform source to a Query or Table in Microsoft Access
|
Desktop Programming
|
Win32 |
15 Aug 2012
Updated: 2 Oct 2012
Rating: 5.00/5
Votes: 8
Popularity: 4.52
Licence: CPOL
Views: 16,592
Bookmarked: 13
Downloaded: 165
This article presents a way to display totally dynamic data in a windows grid using a dictionary.
|
|
27 Jun 2018
Updated: 27 Jun 2018
Rating: 5.00/5
Votes: 5
Popularity: 3.49
Licence: CPOL
Views: 7,373
Bookmarked: 13
Downloaded: 0
These are some methods I created to help with creating and deleting Windows shared directories.
|
WPF |
2 Apr 2018
Updated: 2 Apr 2018
Rating: 5.00/5
Votes: 5
Popularity: 3.49
Licence: CPOL
Views: 10,202
Bookmarked: 9
Downloaded: 69
This tip provides a behavior that will reset all RadioButton controls within a Control that has this behavior when the Visibility changes.
|
|
3 Apr 2018
Updated: 3 Apr 2018
Rating: 5.00/5
Votes: 7
Popularity: 4.23
Licence: CPOL
Views: 23,330
Bookmarked: 9
Downloaded: 377
Normally a popup will stay open until explicitly closed. The Behavior will close the Popup if the mouse is clicked within or outside the Popup area or leaves the Popup area.
|
|
4 Apr 2018
Updated: 4 Apr 2018
Rating: 5.00/5
Votes: 9
Popularity: 4.77
Licence: CPOL
Views: 11,323
Bookmarked: 11
Downloaded: 124
This behavior will require that for any Group of ToggleButton/Checkbox controls that are associated together, the user cannot set all to not IsChecked.
|
|
5 Apr 2018
Updated: 5 Apr 2018
Rating: 5.00/5
Votes: 5
Popularity: 3.49
Licence: CPOL
Views: 12,997
Bookmarked: 11
Downloaded: 0
Normally, there is no need to ensure that types exactly match when using a Binding. For instance, the Control property double to and int in a ViewModel
|
|
20 Jun 2018
Updated: 20 Jun 2018
Rating: 5.00/5
Votes: 7
Popularity: 4.23
Licence: CPOL
Views: 29,769
Bookmarked: 6
Downloaded: 300
This behavior will select the entire text when a TextBox or PasswordBox gains focus
|
|
19 Mar 2018
Updated: 19 Mar 2018
Rating: 4.68/5
Votes: 11
Popularity: 4.68
Licence: CPOL
Views: 41,793
Bookmarked: 10
Downloaded: 1,023
A alternative ToggleButton/RadioButton control
|
|
9 Aug 2015
Updated: 9 Aug 2015
Rating: 5.00/5
Votes: 6
Popularity: 3.89
Licence: CPOL
Views: 14,044
Bookmarked: 6
Downloaded: 0
This tip provides an alternate way to combine data with text in a WPF control using a ValueConverter that could be considered easier.
|
|
18 Apr 2018
Updated: 18 Apr 2018
Rating: 5.00/5
Votes: 6
Popularity: 3.89
Licence: CPOL
Views: 10,001
Bookmarked: 12
Downloaded: 100
I had a situation where a control appearing was significantly affected by the initialization of the UserControls. This behavior fixed my problem.
|
|
27 Apr 2018
Updated: 27 Apr 2018
Rating: 5.00/5
Votes: 5
Popularity: 3.49
Licence: CPOL
Views: 9,683
Bookmarked: 7
Downloaded: 87
This is a behavior that that will reset ToggleButton derived controls to false (or a specified default value) when the container's visibility becomes false.
|
|
3 Mar 2019
Updated: 3 Mar 2019
Rating: 5.00/5
Votes: 8
Popularity: 4.52
Licence: CPOL
Views: 12,815
Bookmarked: 9
Downloaded: 168
This tip presents a behavior that will allow buttons to control the items in a WPF Selector (or ListBox) control.
|
|
3 Mar 2018
Updated: 3 Mar 2018
Rating: 4.56/5
Votes: 7
Popularity: 3.85
Licence: CPOL
Views: 9,593
Bookmarked: 7
Downloaded: 134
This tip presents a way to use the ContentControl and DataTemplate to easily control an image in a Window.
|
|
2 May 2018
Updated: 2 May 2018
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 13,563
Bookmarked: 7
Downloaded: 70
The tip provides a behavior that will set a control to a default value when the Visibility changes
|
|
25 Jun 2018
Updated: 25 Jun 2018
Rating: 5.00/5
Votes: 8
Popularity: 4.52
Licence: CPOL
Views: 13,117
Bookmarked: 10
Downloaded: 275
A way to create a custom derived control with the XAML file attached like a UserControl
|
|
4 Mar 2018
Updated: 4 Mar 2018
Rating: 4.56/5
Votes: 8
Popularity: 4.11
Licence: CPOL
Views: 8,836
Bookmarked: 7
Downloaded: 58
Provides a way to have a string in XAML that can contain string values and references to resources that are inserting into the string like string interpolation
|
|
16 Jul 2020
Updated: 15 Aug 2020
Rating: 5.00/5
Votes: 6
Popularity: 3.89
Licence: CPOL
Views: 10,625
Bookmarked: 7
Downloaded: 520
A media player application specifically designed to support listening to language learning tracks
|
|
2 Jun 2012
Updated: 2 Jun 2012
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 36,813
Bookmarked: 5
Downloaded: 0
A rather quick and dirty way of creating a filtered combo box in WPF.
|
|
6 Jun 2012
Updated: 6 Jun 2012
Rating: 5.00/5
Votes: 8
Popularity: 4.52
Licence: CPOL
Views: 29,273
Bookmarked: 9
Downloaded: 402
A little trick that will more completely fill the DatePicker background from the code-behind.
|
|
26 Aug 2015
Updated: 26 Aug 2015
Rating: 4.86/5
Votes: 6
Popularity: 3.78
Licence: CPOL
Views: 9,502
Bookmarked: 5
Downloaded: 0
If you are having issues with getting the WPF Focus() method working, then maybe all you need to do is add a delay on the Initialized event before setting the focus. This solution is a nice demonstration of the features of TPL, and how easy TPL can make doing asynchronous programming in the UI.
|
|
10 Mar 2016
Updated: 10 Mar 2016
Rating: 4.78/5
Votes: 5
Popularity: 3.34
Licence: CPOL
Views: 18,173
Bookmarked: 5
Downloaded: 131
When binding to an Enumeration, the Required Attribute does not work if the enumeration does not have a zero value. This validator does work.
|
|
18 Mar 2016
Updated: 18 Mar 2016
Rating: 4.18/5
Votes: 7
Popularity: 3.53
Licence: CPOL
Views: 11,274
Bookmarked: 5
Downloaded: 75
There may be times when it would be nice to have a timer on a window. This is a behavior that when attached to a TextBlock, will display the time in minutes and seconds since the control was created.
|
|
24 Mar 2016
Updated: 24 Mar 2016
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 14,873
Bookmarked: 6
Downloaded: 180
WPF popup enumerated button control
|
|
6 Aug 2016
Updated: 6 Aug 2016
Rating: 5.00/5
Votes: 12
Popularity: 5.21
Licence: CPOL
Views: 9,103
Bookmarked: 7
Downloaded: 64
This tip presents a way to have disabled items in your ComboBox
|
|
5 Oct 2016
Updated: 5 Oct 2016
Rating: 4.94/5
Votes: 14
Popularity: 5.33
Licence: CPOL
Views: 47,293
Bookmarked: 12
Downloaded: 1,386
Presents and implementation of a control that can be pressed to bring up a Menu.
|
|
5 Jan 2017
Updated: 5 Jan 2017
Rating: 5.00/5
Votes: 7
Popularity: 4.23
Licence: CPOL
Views: 16,096
Bookmarked: 6
Downloaded: 529
This is a simple popup that includes drag capability. The code should be helpful to anyone looking to create a control drag capability.
|
|
7 Feb 2017
Updated: 7 Feb 2017
Rating: 5.00/5
Votes: 7
Popularity: 4.23
Licence: CPOL
Views: 23,327
Bookmarked: 5
Downloaded: 805
This tip presents a control that is derived from the ItemsControl that uses a UniformGrid to display.
|
|
16 Aug 2017
Updated: 16 Aug 2017
Rating: 5.00/5
Votes: 9
Popularity: 4.77
Licence: CPOL
Views: 8,893
Bookmarked: 8
Downloaded: 177
This is a simple behavior that can be attached to a ContentControl and allows zooming and dragging the Content.
|
|
2 Sep 2017
Updated: 2 Sep 2017
Rating: 5.00/5
Votes: 5
Popularity: 3.49
Licence: CPOL
Views: 11,352
Bookmarked: 8
Downloaded: 115
Presents a very simple control with an IsChecked property that allows definition of two different contents depending of if IsChecked property value is true or false
|
|
26 Sep 2017
Updated: 26 Sep 2017
Rating: 5.00/5
Votes: 12
Popularity: 5.21
Licence: CPOL
Views: 25,686
Bookmarked: 10
Downloaded: 526
A behavior that allows the developer to bind an IList to SelectedItems of a ListBox or MultiSelector.
|
|
11 Oct 2017
Updated: 11 Oct 2017
Rating: 5.00/5
Votes: 13
Popularity: 5.57
Licence: CPOL
Views: 55,924
Bookmarked: 19
Downloaded: 2,600
This tip presents a way to display checkboxes for selection of ListBox Items instead of the default highlighting
|
|
12 Oct 2017
Updated: 12 Oct 2017
Rating: 4.81/5
Votes: 9
Popularity: 4.59
Licence: CPOL
Views: 10,942
Bookmarked: 9
Downloaded: 103
A Behavior is presented that will ensure that only one Checkbox will be checked within the visual tree of the control to which this behavior is attached
|
|
17 Oct 2017
Updated: 17 Oct 2017
Rating: 5.00/5
Votes: 6
Popularity: 3.89
Licence: CPOL
Views: 15,021
Bookmarked: 9
Downloaded: 183
A Behavior is presented that will ensure that only one CheckBox (ToggleButton) will be checked with the same GroupName within the visual tree of the control to which this behavior is attached.
|
|
3 Nov 2017
Updated: 3 Nov 2017
Rating: 4.94/5
Votes: 8
Popularity: 4.46
Licence: CPOL
Views: 17,890
Bookmarked: 9
Downloaded: 210
This tip shows how easy it is to create a Style with DependencyProperty definitions and avoid the much heavier UserControl
|
|
1 Apr 2018
Updated: 1 Apr 2018
Rating: 5.00/5
Votes: 3
Popularity: 2.39
Licence: CPOL
Views: 6,261
Bookmarked: 9
Downloaded: 49
This is a control that is like a Expander Control but there is both Expanded and not Expanded Content. It demonstrates some concepts on how to easily create controls whose functionality can be mostly implemented in the XAML with the code behind being mostly DependencyProperty definitions.
|
|
5 Sep 2012
Updated: 5 Sep 2012
Rating: 4.57/5
Votes: 7
Popularity: 3.86
Licence: CPOL
Views: 30,485
Bookmarked: 10
Downloaded: 471
The IValueConverter can be used to select a View.
|
|
21 Nov 2015
Updated: 21 Nov 2015
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 16,158
Bookmarked: 5
Downloaded: 0
Using a breakpoint in this WPF Value Converter which basically does nothing can be of assistance in binding when the object is not well understood.
|
|
27 Apr 2016
Updated: 27 Apr 2016
Rating: 5.00/5
Votes: 7
Popularity: 4.23
Licence: CPOL
Views: 14,272
Bookmarked: 3
Downloaded: 60
This article presents a way to display a message in a single control with several sources in a priority order
|
|
23 Jun 2016
Updated: 23 Jun 2016
Rating: 4.38/5
Votes: 8
Popularity: 3.95
Licence: CPOL
Views: 12,784
Bookmarked: 6
Downloaded: 105
This presents a simple converter that supports binding to an object, but display of a property in that class.
|
|
29 Jun 2016
Updated: 29 Jun 2016
Rating: 4.92/5
Votes: 8
Popularity: 4.45
Licence: CPOL
Views: 25,003
Bookmarked: 10
Downloaded: 235
This class based on the ObservableCollection supports updating instead of replacing
|
|
2 Aug 2017
Updated: 2 Aug 2017
Rating: 5.00/5
Votes: 7
Popularity: 4.23
Licence: CPOL
Views: 17,351
Bookmarked: 7
Downloaded: 388
Fairly straight forward way of binding in a HierarchicalDataTemplate or DataTemplate to the parent ViewModel when using the TreeView control.
|
|
11 Aug 2017
Updated: 11 Aug 2017
Rating: 4.75/5
Votes: 6
Popularity: 3.70
Licence: CPOL
Views: 12,617
Bookmarked: 8
Downloaded: 164
Sometimes want to have some action in a View when there are no items or are items in a collection. It is very easy to do this with a converter and binding to the Collection's Count property
|
|
10 Oct 2016
Updated: 10 Oct 2016
Rating: 3.72/5
Votes: 8
Popularity: 3.36
Licence: CPOL
Views: 18,952
Bookmarked: 4
Downloaded: 93
This article presents a behavior that can be used to attach properties to a bound class.
|
|
2 Jul 2012
Updated: 2 Jul 2012
Rating: 5.00/5
Votes: 5
Popularity: 3.49
Licence: CPOL
Views: 63,448
Bookmarked: 11
Downloaded: 477
Why didn’t Microsoft provide this in the ObservableCollection?
|
|
1 Oct 2015
Updated: 1 Oct 2015
Rating: 5.00/5
Votes: 11
Popularity: 5.21
Licence: CPOL
Views: 46,623
Bookmarked: 17
Downloaded: 1,218
Presents a behavior to prevent entry of anything but digits into a control
|
XAML |
5 Dec 2015
Updated: 5 Dec 2015
Rating: 4.38/5
Votes: 5
Popularity: 3.06
Licence: CPOL
Views: 18,838
Bookmarked: 4
Downloaded: 92
This tip presents a ValidationAttribute that can be applied to enumeration properties. The normal RequiredValidationAttribute normally works but if numbers are assigned to the enumeration values, the default value is zero and that may not be valid.
|
|
9 Apr 2018
Updated: 9 Apr 2018
Rating: 4.50/5
Votes: 6
Popularity: 3.50
Licence: CPOL
Views: 33,679
Bookmarked: 8
Downloaded: 438
Shows how to set DataContext of View to itself using XAML and discusses the advantages of INotifyPropertyChanged to DependencyProperty
|
|
19 Dec 2015
Updated: 19 Dec 2015
Rating: 5.00/5
Votes: 4
Popularity: 3.01
Licence: CPOL
Views: 21,634
Bookmarked: 5
Downloaded: 0
It is not straight forward to change the row selected and hover colors on the Telerik RadGridView. This is a ControlTemplate that works, and works with the detail pane.
|
Productivity Apps and Services
|
Microsoft Office |
25 May 2018
Updated: 25 May 2018
Rating: 5.00/5
Votes: 5
Popularity: 3.49
Licence: CPOL
Views: 12,158
Bookmarked: 8
Downloaded: 0
VBA Code that will take a string and attempt to pull out the company name, street address, city, state, zip code, phone number, and web address
|
|
7 Sep 2018
Updated: 7 Sep 2018
Rating: 5.00/5
Votes: 6
Popularity: 3.89
Licence: CPOL
Views: 25,411
Bookmarked: 7
Downloaded: 1,507
This is a tip that has the code for selecting an Excel file and sheet for import into Microsoft Access. This includes the code required to browse for a file, and populate a ListBox with the sheets of the Excel Workbook, and the code to import an Excel spreadsheet.
|
Programming Languages
|
C# |
13 Jun 2018
Updated: 13 Jun 2018
Rating: 4.93/5
Votes: 8
Popularity: 4.46
Licence: CPOL
Views: 6,390
Bookmarked: 11
Downloaded: 0
This is a set of methods to help in working with Services on the local machine.
|
|
10 Aug 2020
Updated: 10 Aug 2020
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 5,374
Bookmarked: 2
Downloaded: 412
An application to define, save and watch segments of a video that I have selected
|
|
26 Aug 2016
Updated: 26 Aug 2016
Rating: 4.75/5
Votes: 10
Popularity: 4.75
Licence: CPOL
Views: 13,803
Bookmarked: 11
Downloaded: 136
A simple timer that will expire if it is not nudged within a certain time. This will cause an Action to be executed.
|
|
27 Apr 2016
Updated: 27 Apr 2016
Rating: 4.08/5
Votes: 11
Popularity: 4.25
Licence: CPOL
Views: 15,002
Bookmarked: 6
Downloaded: 0
I have used a Func to set the value of a property.
|
|
8 Jun 2012
Updated: 8 Jun 2012
Rating: 5.00/5
Votes: 9
Popularity: 4.77
Licence: CPOL
Views: 16,641
Bookmarked: 13
Downloaded: 272
You can implement BackgroundWorker using Lambdas without any sort of helper class very easily.
|
|
25 Mar 2013
Updated: 25 Mar 2013
Rating: 4.25/5
Votes: 8
Popularity: 3.84
Licence: CPOL
Views: 12,333
Bookmarked: 8
Downloaded: 67
Design to create a simple tree view that can be copy and pasted
|
|
11 Jul 2013
Updated: 11 Jul 2013
Rating: 3.86/5
Votes: 8
Popularity: 3.48
Licence: CPOL
Views: 18,803
Bookmarked: 12
Downloaded: 111
Helper for serializing objects to a string
|
|
25 Jul 2013
Updated: 30 Jul 2013
Rating: 4.59/5
Votes: 35
Popularity: 6.85
Licence: CPOL
Views: 83,586
Bookmarked: 50
Downloaded: 634
Helper for serializing objects in XML or binary and saving to a file
|
|
15 Mar 2016
Updated: 15 Mar 2016
Rating: 4.64/5
Votes: 12
Popularity: 4.84
Licence: CPOL
Views: 14,961
Bookmarked: 8
Downloaded: 13
There is a Parse and TryParse for fields, but they cannot be used for properties. Here is a concept to create TryParse that will work for properties.
|
|
28 Nov 2016
Updated: 28 Nov 2016
Rating: 5.00/5
Votes: 8
Popularity: 4.52
Licence: CPOL
Views: 18,853
Bookmarked: 7
Downloaded: 843
The WPF WebBrower control leaves a lot to be desired.
|
|
17 May 2018
Updated: 17 May 2018
Rating: 3.70/5
Votes: 8
Popularity: 3.34
Licence: CPOL
Views: 13,873
Bookmarked: 14
Downloaded: 92
This tip provides examples of how to use the different arguments of the Linq GroupBy extension method.
|