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

XAMLFinance – A Cross-platform WPF, Silverlight & WP7 Application

By , 21 Sep 2011
Prize winner in Competition "Best overall article of September 2011"
Prize winner in Competition "Best C# article of September 2011"
TwitterExample.zip
Common
SilverlightTwitterApp
SilverlightTwitterApp.suo
SilverlightTwitterApp
Properties
Resources
Twitter_logo.jpg
SilverlightTwitterApp.csproj.user
View
ViewModel
ClassDiagram.cd
WPFTwitterApp
WPFTwitterApp.suo
WPFTwitterApp
Properties
Settings.settings
Resources
View
ViewModel
XAMLFinance.zip
XAMLFinanceApp
Converter
Properties
View
ViewModel
Command
XAMLFinanceDataSource
XmlDataSource
Data
Dependencies
Visiblox
Silverlight
Visiblox.Charts.dll
WP7
Microsoft.Phone.Controls.Toolkit.dll
Visiblox.Charts.dll
WPF
Visiblox.Charts.dll
WP7
WP7Contrib.View.Controls.dll
XAMLFinanceSilverlight
XAMLFinanceAppSilverlight
Images
caret.png
close-icon.png
heatmap.png
markets.png
Properties
View
Converter
ViewModel
Command
XAMLFinanceAppSilverlight.csproj.user
XAMLFinanceAppSilverlight.suo
XAMLFinanceDataSource
Properties
XAMLFinanceDataSource.csproj.user
XmlDataSource
Data
XAMLFinanceSilverlight.suo
XAMLFinanceWP7
TreeMapWP7
Properties
Themes
TranisitioningContentControl
TreeMap
Interpolators
Layout
TreeMapWP7.csproj.user
XAMLFinanceDataSource
Properties
XAMLFinanceDataSource.csproj.user
XmlDataSource
Data
XAMLFinanceWP7.suo
XAMLFinanceWP7
addFavourite.png
ApplicationIcon.png
Background.png
Controls
Converter
heatmap.png
Properties
SplashScreenImage.jpg
Themes
View
arrow.png
Util
ViewModel
Command
wall-street-sign.jpg
XAMLFinanceWP7.csproj.user
XAMLFinanceWP7.suo
XAMLFinanceWPF
XAMLFinanceAppWPF
chart.ico
Images
close-icon.png
heatmap.png
markets.png
new-window.png
Properties
Settings.settings
View
Converter
ViewModel
Command
XAMLFinanceAppWPF.csproj.user
XAMLFinanceDataSource
Properties
XmlDataSource
Data
XAMLFinanceWPF.suo
<HeatMapViewModel xmlns="clr-namespace:XAMLFinance.ViewModel">
  <HeatMapViewModel.Sectors>
    <SectorViewModel Name="Industrial" MarketCap="10000" ChangePercent="5">
      <SectorViewModel.Children>
        <InstrumentPriceViewModel
                          MarketCap="5000"
                          ChangePercent="4"
                          Symbol="XYZ"/>
        <InstrumentPriceViewModel
                         MarketCap="5800"
                         ChangePercent="0"
                         Symbol="ABC"/>
        <InstrumentPriceViewModel
                         MarketCap="2000"
                         ChangePercent="-4"
                         Symbol="123"/>
      </SectorViewModel.Children>
    </SectorViewModel>
    <SectorViewModel Name="Finance" MarketCap="5000" ChangePercent="6">
      <SectorViewModel.Children>
        <InstrumentPriceViewModel
                          MarketCap="5000"
                          ChangePercent="4"
                          Symbol="XYZ"/>
        <InstrumentPriceViewModel
                         MarketCap="5800"
                         ChangePercent="0"
                         Symbol="ABC"/>
        <InstrumentPriceViewModel
                         MarketCap="2000"
                         ChangePercent="-4"
                         Symbol="123"/>
      </SectorViewModel.Children>
    </SectorViewModel>
  </HeatMapViewModel.Sectors>
</HeatMapViewModel>

By viewing downloads associated with this article you agree to the Terms of use 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)

About the Author

Colin Eberhardt
Architect Scott Logic
United Kingdom United Kingdom
I am CTO at ShinobiControls, a team of iOS developers who are carefully crafting iOS charts, grids and controls for making your applications awesome.
 
I am a Technical Architect for Visiblox which have developed the world's fastest WPF / Silverlight and WP7 charts.
 
I am also a Technical Evangelist at Scott Logic, a provider of bespoke financial software and consultancy for the retail and investment banking, stockbroking, asset management and hedge fund communities.
 
Visit my blog - Colin Eberhardt's Adventures in .NET.
 
Follow me on Twitter - @ColinEberhardt
 
-
Follow on   Twitter   Google+

| Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 22 Sep 2011
Article Copyright 2011 by Colin Eberhardt
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid