Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Mole II for WPF

, , , 31 Dec 2007 CPOL
Introduces the second version of a very useful and educational debugger visualizer for WPF developers.
mole_visualizer_2_1_1_packages.zip
Mole_Visualizer_2_1_1_VS2008_SourceAndTestProject.zip
Mole_Visualizer_2_1_1_VS2005_SourceAndTestProject.zip
Mole_Visualizer_2_1_1_VS2005_Release.zip
Mole_Visualizer_2_1_1_VS2008_Release.zip
mole_visualizer_2_1_1_vs2005_release.zip
Mole.Visualizer.dll
mole_visualizer_2_1_1_vs2005_sourceandtestproject.zip
Mole.Visualizer
Custom Controls
Data Source
Image Processing
Data
Debugger Visualizer
Enums Constants
Event Args
Extended Controls
Images
MoleVisualUnavailable.gif
Mole.Visualizer.csi
Mole.Visualizer.suo
Mole.Visualizer.vbproj.user
My Project
Application.myapp
Settings.settings
Settings
Visualizer UI
XSLT
Mole.TestBench
bach.jpg
Mole.TestBench.csi
Mole.TestBench.suo
My Project
Settings.settings
mole_visualizer_2_1_1_vs2008_release.zip
Mole.Visualizer.dll
mole_visualizer_2_1_1_vs2008_sourceandtestproject.zip
bach.jpg
Mole.TestBench.csi
Mole.TestBench.suo
Settings.settings
MoleVisualUnavailable.gif
Mole.Visualizer.csi
Mole.Visualizer.suo
Mole.Visualizer.vbproj.user
Application.myapp
Settings.settings
mole_visualizer_2_1_vs2005_release.zip
Mole.Visualizer.dll
mole_visualizer_2_1_vs2005_sourceandtestproject.zip
MoleVisualUnavailable.gif
Mole.Visualizer.csi
Mole.Visualizer.suo
Mole.Visualizer.vbproj.user
Application.myapp
Settings.settings
bach.jpg
Mole.TestBench.csi
Mole.TestBench.suo
Settings.settings
mole_visualizer_2_1_vs2008_release.zip
Mole.Visualizer.dll
mole_visualizer_2_1_vs2008_sourceandtestproject.zip
MoleVisualUnavailable.gif
Mole.Visualizer.csi
Mole.Visualizer.suo
Mole.Visualizer.vbproj.user
Application.myapp
Settings.settings
bach.jpg
Mole.TestBench.csi
Mole.TestBench.suo
Settings.settings
mole_visualizer_vs2005_release.zip
Mole.Visualizer.dll
mole_visualizer_vs2005_sourceandtestproject.zip
MoleVisualUnavailable.gif
Mole.Visualizer.csi
Mole.Visualizer.suo
Mole.Visualizer.vbproj.user
Application.myapp
Settings.settings
bach.jpg
Mole.TestBench.csi
Mole.TestBench.suo
Settings.settings
mole_visualizer_vs2008_release.zip
Mole.Visualizer.dll
mole_visualizer_vs2008_sourceandtestproject.zip
MoleVisualUnavailable.gif
Mole.Visualizer.csi
Mole.Visualizer.suo
Mole.Visualizer.vbproj.user
Application.myapp
Settings.settings
bach.jpg
Mole.TestBench.csi
Mole.TestBench.suo
Settings.settings
'
<Serializable()> _
Public Class MoleSettings

#Region " Declarations "

    Private _bolHideCategoryColumn As Boolean = False
    Private _bolHideIsDependencyPropertyColumn As Boolean = False
    Private _bolHideValueSourceColumn As Boolean = False
    Private _bolShowAttachedProperties As Boolean = True
    Private _enumHTMLFormat As HTMLFormat = HTMLFormat.Expanded
    Private _enumSortByColumn As SortByColumn = SortByColumn.Name
    Private _enumWindowState As System.Windows.Forms.FormWindowState = Windows.Forms.FormWindowState.Normal
    Private _htFavorites As Hashtable
    Private _intMaxRowsInCollectionData As Integer = 100
    Private _intSearchLocationIndex As Integer = 0
    Private _intSplitterDistance As Integer = 265
    Private _intToolTipInitialDelay As Integer = 500
    Private _intXAMLTextFontSize As Integer = 12
    Private _ptWindowLocation As System.Drawing.Point
    Private _strScreenDeviceName As String = String.Empty
    Private _szWindowSize As System.Drawing.Size = New System.Drawing.Size(1020, 570)

#End Region

#Region " Properties "

    Public Property Favorites() As Hashtable
        Get

            If _htFavorites Is Nothing Then
                _htFavorites = New Hashtable
            End If

            Return _htFavorites
        End Get
        Set(ByVal Value As Hashtable)
            _htFavorites = Value
        End Set
    End Property

    Public Property HideCategoryColumn() As Boolean
        Get
            Return _bolHideCategoryColumn
        End Get
        Set(ByVal Value As Boolean)
            _bolHideCategoryColumn = Value
        End Set
    End Property

    Public Property HideIsDependencyPropertyColumn() As Boolean
        Get
            Return _bolHideIsDependencyPropertyColumn
        End Get
        Set(ByVal Value As Boolean)
            _bolHideIsDependencyPropertyColumn = Value
        End Set
    End Property

    Public Property HideValueSourceColumn() As Boolean
        Get
            Return _bolHideValueSourceColumn
        End Get
        Set(ByVal Value As Boolean)
            _bolHideValueSourceColumn = Value
        End Set
    End Property

    Public Property HTMLFormat() As HTMLFormat
        Get
            Return _enumHTMLFormat
        End Get
        Set(ByVal Value As HTMLFormat)
            _enumHTMLFormat = Value
        End Set
    End Property

    Public Property MaxRowsInCollectionData() As Integer
        Get
            Return _intMaxRowsInCollectionData
        End Get
        Set(ByVal Value As Integer)
            _intMaxRowsInCollectionData = Value
        End Set
    End Property

    Public Property ScreenDeviceName() As String
        Get
            Return _strScreenDeviceName
        End Get
        Set(ByVal Value As String)
            _strScreenDeviceName = Value
        End Set
    End Property

    Public Property SearchLocationIndex() As Integer
        Get
            Return _intSearchLocationIndex
        End Get
        Set(ByVal Value As Integer)
            _intSearchLocationIndex = Value
        End Set
    End Property

    Public Property ShowAttachedProperties() As Boolean
        Get
            Return _bolShowAttachedProperties
        End Get
        Set(ByVal Value As Boolean)
            _bolShowAttachedProperties = Value
        End Set
    End Property

    Public Property SortByColumn() As SortByColumn
        Get
            Return _enumSortByColumn
        End Get
        Set(ByVal Value As SortByColumn)
            _enumSortByColumn = Value
        End Set
    End Property

    Public Property SplitterDistance() As Integer
        Get
            Return _intSplitterDistance
        End Get
        Set(ByVal Value As Integer)
            _intSplitterDistance = Value
        End Set
    End Property

    Public Property ToolTipInitialDelay() As Integer
        Get
            Return _intToolTipInitialDelay
        End Get
        Set(ByVal Value As Integer)
            _intToolTipInitialDelay = Value
        End Set
    End Property

    Public Property WindowLocation() As System.Drawing.Point
        Get
            Return _ptWindowLocation
        End Get
        Set(ByVal Value As System.Drawing.Point)
            _ptWindowLocation = Value
        End Set
    End Property

    Public Property WindowSize() As System.Drawing.Size
        Get
            Return _szWindowSize
        End Get
        Set(ByVal Value As System.Drawing.Size)
            _szWindowSize = Value
        End Set
    End Property

    Public Property WindowState() As System.Windows.Forms.FormWindowState
        Get
            Return _enumWindowState
        End Get
        Set(ByVal Value As System.Windows.Forms.FormWindowState)
            _enumWindowState = Value
        End Set
    End Property

    Public Property XAMLTextFontSize() As Integer
        Get
            Return _intXAMLTextFontSize
        End Get
        Set(ByVal Value As Integer)
            _intXAMLTextFontSize = Value
        End Set
    End Property

#End Region

End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Authors

Andrew Smith
Architect Infragistics, Inc.
United States United States
Andrew currently works as an architect for Infragistics working with windows forms and WPF. You can check out his blog here.

Josh Smith
Software Developer (Senior) Cynergy Systems
United States United States
Josh creates software, for iOS and Windows.
 
He works at Cynergy Systems as a Senior Experience Developer.
 
Read his iOS Programming for .NET Developers[^] book to learn how to write iPhone and iPad apps by leveraging your existing .NET skills.
 
Use his Master WPF[^] app on your iPhone to sharpen your WPF skills on the go.
 
Check out his Advanced MVVM[^] book.
 
Visit his WPF blog[^] or stop by his iOS blog[^].
Follow on   Twitter

Karl Shifflett
Architect Gayle Manufacturing Company
United States United States
Karl loves .NET, WPF, WCF, ASP.NET, VB.NET and C#.
 
Awards:
 
  • December 2008 VB.NET Code Project Article Award
  • 2009 Code Project MVP
  • 2008 Code Project MVP
  • 2008 Microsoft MVP - Client App Dev
  • December 2007 VB.NET Code Project Article Award
  • Gold Medal Winner at IBM's 1998 PROIV Programming Contest in Las Vegas
Click here to check out my Blog
 
Click here to learn about Mole 2010 debugging tool for Visual Studio 2010
 
Click here to read about XAML Power Toys
 

Just a grain of sand on the worlds beaches.

Follow on   Twitter

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141223.1 | Last Updated 31 Dec 2007
Article Copyright 2007 by Andrew Smith, Josh Smith, Karl Shifflett
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid