Change display of Bollinger Band Price
This commit is contained in:
@@ -15,6 +15,7 @@ namespace Navigator.ViewModels
|
||||
private String ipAddress;
|
||||
private RelayCommand ipAddressCommand;
|
||||
private RelayCommand onResetCommand;
|
||||
private static readonly String VERSION = "1.0.0.5";
|
||||
|
||||
public AboutViewModel()
|
||||
{
|
||||
@@ -130,6 +131,13 @@ namespace Navigator.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public String Version
|
||||
{
|
||||
get
|
||||
{
|
||||
return VERSION;
|
||||
}
|
||||
}
|
||||
|
||||
public String ScreenDimensions
|
||||
{
|
||||
|
||||
@@ -129,8 +129,10 @@ namespace Navigator.ViewModels
|
||||
if(null!=currentPrice&&!float.IsNaN(change))
|
||||
{
|
||||
sb.Append(" (").Append(Utility.FormatCurrency(currentPrice.Close));
|
||||
sb.Append("(C)");
|
||||
sb.Append("/");
|
||||
sb.Append(" ").Append(Utility.FormatCurrency(currentPrice.Low));
|
||||
sb.Append("(L)");
|
||||
sb.Append(",");
|
||||
sb.Append(change>=0.00?"+":"").Append(Utility.FormatPercent((double)change));
|
||||
sb.Append(")");
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<FormattedString.Spans>
|
||||
<Span Text="Navigator" FontAttributes="Bold" FontSize="22" />
|
||||
<Span Text=" " />
|
||||
<Span Text="1.03" ForegroundColor="{StaticResource LightTextColor}" />
|
||||
<Span Text="{Binding Version,Mode=OneWay}" ForegroundColor="{StaticResource LightTextColor}" />
|
||||
</FormattedString.Spans>
|
||||
</FormattedString>
|
||||
</Label.FormattedText>
|
||||
|
||||
Reference in New Issue
Block a user