ID

Uploaded

Status

Description

Work Items

Action

7947
by HelmutE
Jan 3 2011
8:14 AM

Being evaluated

Patch to being able to call Dispose() on the view through it's data item WorkspaceData.
Just call Dispose() on the WorkspaceData so it's going to call the Dispose() of the view, if it implements IDisposable.

Added a call to Dispose() on closing a tab in TabcontrolEx on it's data item.

Download

5917
by DanielRose
May 10 2010
10:00 AM

Being evaluated

Minor fixes to UnityProvider:
- Changed #if debug to #if DEBUG. Since code is now compiled in debug-builds, added #using System.Diagnostics
- Used string alias instead of String
- Rethrow the exception to preserve stack trace.
- Fixed some spelling errors.

Download

5896
by DanielRose
May 5 2010
9:37 AM

Being evaluated

I took the NumericTextBoxBehavior and slightly modified it to produce IntegerTextBoxBehavior. I simply changed the Regex so only integers are valid.

This could be done using a common base class in the future, but for now I simply copied the code.

Download

5070
by manuvdp
Jan 25 2010
7:29 AM

Applied

patch for DispatcherNotifiedObservableCollection

AddRange method and RemoveRange method added.


Applied May 4 2010: Done

Download

4855
by Manuvdp
Jan 7 2010
3:33 PM

Applied

Patch for DispatcherNotifiedObservableCollection : AddRange and RemoveRange so its possible to do an BulkAdd

source article :
http://khason.net/blog/how-to-addrangeremoverange-in-silverlight-observablecollectiont/

Greetz
Manu
http://www.manuvdp.be


Applied May 4 2010: Done

Download

5025
by DanielRose
Jan 22 2010
10:41 AM

Applied

I expanded the RegexRule to allow setting RegexOptions for doing the matching. An additional (optional) parameter to the constructor allows passing the options. If none are specified, RegexOptions.None is used.


Applied May 4 2010: Did these aready

Download

4469
by Manuvdp
Nov 18 2009
8:10 PM

Applied

Here is a set of 10 code snippets for visual studio for the Cinch framework. They will really boost development ( I think :o) )
just type:
'cinch' and then press the TAB key

Whats inside:
0. Cinch: EditableValidatingObject overrides
1. Cinch: INotifyPropertyChanged for reference type
2. Cinch: INotifyPropertyChanged for value type
3. Cinch: INotifyPropertyChanged + DataWrapper for reference type
4. Cinch: INotifyPropertyChanged + DataWrapper for value type
5. Cinch: INotifyPropertyChanged for collections
6. Cinch: INotifyPropertyChanged
7. Cinch: Command
8. Cinch: Background worker
9. Cinch: ViewMode


Installation:
Unzip and copy the file in
C:\Users\*****USERNAME*****\Documents\Visual Studio 2008\Code Snippets\Visual C#\My Code Snippets\


Greetz
Manu


Applied May 4 2010: did these already

Download

4465
by manuvdp
Nov 18 2009
9:13 AM

Applied

Code snippet for Cinch Property
Copy this file in
C:\Users\*****USERNAME*****\Documents\Visual Studio 2008\Code Snippets\Visual C#\My Code Snippets

Greetz
Manu


Applied May 4 2010: Did these already

Download

4922
by GONZ01D
Jan 13 2010
12:04 PM

Applied

I am using your framework to great effect and it's made my life a lot easier - kudos.

I have experienced one problem though when hosting a WPF usercontrol in an elementhost in a WinForms app that creates a popup.

In this scenario the following code in the WPFUIVisualizerService.CreateWindow() method causes an unhandled exception :

if (setOwner)
win.Owner = Application.Current.MainWindow;

This is due to the Application.Current property being null because my WPF User Control is being used via a WinForms elementhost and as such will not have an Application instance as would normally be expected for a standard WPF app.

To resolve this I made a code change:

if (setOwner)
{
if (Application.Current != null)
{
//The Application.Current property may be null when WPF is being used via a WinForms elementHost control.
win.Owner = Application.Current.MainWindow;
}
}

I'd like to suggest the above code change as an update to your class as it will cover both circumstances in which the popup may be used.

Many thanks and keep up the good work!

Regards,

Gareth


Applied May 4 2010: I have now included this in codebase

Download

5871
by DanielRose
Apr 29 2010
9:24 AM

Applied

I added some more dispatcher-extensions to allow invoking Func<T> delegates and invoking asynchronously (using BeginInvoke) if required.


Applied May 4 2010: I have included these

Download

View All