Common Utilities

Peter.Common->CommonUtilities.cs [view source]

Common is a static class that offers the methods and properties below:


Property Return Description
IsInDesignMode bool Gets if the currently executing code is running under the XAML designer. If false, code is running under normal conditions.


Method Return Description
RandomString (int length) string Generates a random string with the given length.
ShowFileProperties (string fileName) bool Shows the system properties dialog for the given file.

Last edited May 5, 2014 at 2:39 PM by Jpmon1, version 4