Phillip Trelford's blog articles

0
comment
on 8/25/2012 9:13 AM
C# 5 allows you to obtain the method or property of the caller to a method using the CallerMemberName attribute under System.Runtime.CompilerServices in .Net 4.5:using System.ComponentModel; using System.Runtime.CompilerServices; public class ObservableObject : INotifyPropertyChanged { protected void NotifyPropertyChanged([CallerMemberName] string name = null) { var e = PropertyChanged; if (e != null) e(this, new PropertyChangedEventArgs(name)); } public event PropertyChangedEventHandler[...]
>> Read the full article
.
0
comment
on 8/20/2012 12:25 AM
Multiple Window support is new in Silverlight 5: You can display multiple Window instances in trusted, out-of-browser applications. This enables you to create non-modal dialog boxes, tear-off windows, and user-adjustable layouts that can span multiple monitors. Silverlight’s built-in support for Modal Windows is limited to the MessageBox class. MessageBox Silverlight’s MessageBox.Show static method can open a modal dialog box, which is good for error messages, but it looks a bit basic and you can’[...]
>> Read the full article
.
0
comment
on 8/13/2012 12:23 AM
This week I was assigned a bug with a single line stack trace: Telerik.Windows.Controls.RadDocking.<>c__DisplayClass1b'::'<DropWindow>b__19   The exception type was of type NullReferenceException. The issue could be reproduced by repeatedly docking and undocking a window in the application for about 30 seconds. The result was an unhandled exception that took down the application. The single line indicated that the exception originated somewhere in Telerik’s RadControls for Silverlight, probably a compi[...]
>> Read the full article
.
0
comment
on 8/9/2012 1:14 PM
Software is a product of humans, humans exhibit defects as do their software. Microsoft software is no different. You can report issues on the Microsoft Connect site or to Microsoft Support directly. My recommendation is that if possible you should do both. Silverlight One of the Microsoft frameworks I have been exercising heavily over the last few years is Silverlight. In the process, as with any framework, I have encountered bugs. Several have been minor or easily worked around so have not been reporte[...]
>> Read the full article
.
0
comment
on 8/2/2012 12:15 AM
Silverlight 5 brings native window and P/Invoke support for Silverlight desktop apps (elevated trust out-of-browser applications). The Silverlight Window class contains a subset of the properties and methods provided by in the equivalent WPF Window class. That subset of functionality may be enough for many users, and anything else can be implemented with a sprinkling of P/Invoke. Remember that .Net is mostly managed spackle over the Win32 API. With Silverlight 5 you can create your own managed spackle usin[...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper