No announcements
Found 2011400 threads
-
1 Votes
StringFormat thru Binding
I would recommend having your ViewModel create the string (in code), and binding to the string, instead of binding to the value directly.Answered | 5 Replies | 3331 Views | Created by Ivan Sammut - Monday, September 5, 2011 2:58 PM | Last reply by Annabella Luo - Monday, September 12, 2011 2:02 AM -
2 Votes
StringFormat in Binding
But if for some reason i reenter the same value, the binding doesn't trigger as well as the converter, so i see the number 11 in the text box and it is not formatted.Answered | 3 Replies | 33063 Views | Created by Lello74 - Wednesday, September 10, 2008 4:44 PM | Last reply by Lello74 - Wednesday, September 17, 2008 4:40 AM -
0 Votes
How to set StringFormat of a binding in codebehind??
You have to replace it and copy any properties that are important to the new binding.Answered | 8 Replies | 20706 Views | Created by SWheaties - Tuesday, June 12, 2012 6:29 PM | Last reply by SWheaties - Friday, June 15, 2012 8:03 PM -
0 Votes
XAML StringFormat dependency on binding property - how to use Converter, ConverterParameter?
One workaround you can use is instead of sending the price to the converter like Binding="{Binding PRICE, ...Answered | 6 Replies | 5452 Views | Created by MM96211 - Thursday, September 15, 2011 3:09 PM | Last reply by MM96211 - Friday, September 16, 2011 1:09 PM -
2 Votes
JS: StringFormat or converter in Binding?
Many thanks :) Is there no StringFormat for WinJS Binding?Answered | 3 Replies | 2859 Views | Created by Elad R Katz - Thursday, May 10, 2012 5:52 PM | Last reply by Jeff Sanders - Monday, May 14, 2012 12:45 PM -
1 Votes
Label ContentStringFormat and Binding StringFormat
Correct me if I'm wrong, but I think the StringFormat and ContentStringFormat properties have since been added, and I find that both of the following examples work as expected in ...Answered | 2 Replies | 33036 Views | Created by marbles - Tuesday, July 15, 2008 5:41 PM | Last reply by Pieter Muller - Tuesday, April 12, 2011 10:18 AM -
3 Votes
Binding StringFormat XML Date string
Seems that Binding returns an XML date as a string rather than automaticly converting it to a DateTime, once it is converted to a DateTime with a converter like above, then ...Answered | 6 Replies | 8125 Views | Created by zbend - Thursday, October 15, 2009 10:04 PM | Last reply by Bruce.Zhou - Thursday, October 22, 2009 11:45 AM -
1 Votes
StringFormat or converter for binding dates?
Still not quite sure why StringFormat hasnt been included like it is in full WPF.Answered | 3 Replies | 992 Views | Created by Gimbal2208 - Tuesday, March 31, 2015 1:17 PM | Last reply by lxd_DD - Wednesday, April 1, 2015 8:06 AM -
1 Votes
Binding, StringFormat, and Converters
Hi jonfroehlich, This is a documented behavior when StringFormat and Converter are used ...Answered | 1 Replies | 16234 Views | Created by jonfroehlich - Friday, August 13, 2010 7:16 PM | Last reply by Muhammad Siddiqi - Friday, August 13, 2010 8:54 PM -
2 Votes
StringFormat with DynamicResource
The StringFormat is a property of the Binding class.Answered | 5 Replies | 4761 Views | Created by CPGTech Hub - Monday, February 9, 2015 1:10 PM | Last reply by CPGTech Hub - Tuesday, February 10, 2015 4:32 PM -
4 Votes
StringFormat in TemplateBinding
FuryDiamond I tried this ...Answered | 5 Replies | 16068 Views | Created by Pradeepkumar R - Tuesday, March 15, 2011 12:55 PM | Last reply by Davide Dolla - Saturday, April 14, 2012 8:21 AM -
5 Votes
Hex stringformat in XAML
Hi, you can use StringFormat to achieve that (see here for more info on the hex format).Answered | 1 Replies | 12394 Views | Created by IamHuM - Wednesday, December 18, 2013 5:19 AM | Last reply by JayChase - Wednesday, December 18, 2013 5:52 AM -
1 Votes
DataBinding StringFormat - Currency not working
The property I was binding to was actually the .Text property of the text box, so it's a string.Answered | 2 Replies | 7006 Views | Created by Frankenspank - Wednesday, September 24, 2008 4:11 PM | Last reply by Frankenspank - Monday, September 29, 2008 2:52 PM -
0 Votes
Text="{Binding DateProperty, StringFormat='{}{0:d}'}"/> not respecting date formatting
is right, you should set the currect CultureInfo for the FrameElement.LanguageProperty property.Answered | 2 Replies | 5412 Views | Created by TimmyGR - Friday, April 9, 2010 6:31 PM | Last reply by Jie Bao - Monday, April 12, 2010 5:14 AM -
0 Votes
it is StringFormat again ...
My second thing was about "This-is-the-content" - that i couldnt write it out like this, Text="{Binding MyStringVariable, ...Answered | 3 Replies | 3802 Views | Created by Schwartzberg - Wednesday, October 28, 2009 5:34 PM | Last reply by Reed Copsey, Jr - Wednesday, October 28, 2009 7:07 PM -
0 Votes
Formatted text with StringFormat?
As such, it's the separate HeaderStringFormat property that can to be used instead of adding a StringFormat to the binding.Answered | 5 Replies | 7201 Views | Created by KevinBurton - Friday, February 4, 2011 7:53 PM | Last reply by KevinBurton - Saturday, February 5, 2011 2:14 PM -
0 Votes
StringFormat is not working for DataGridTextColumn
this article has great deal of ...Answered | 3 Replies | 12922 Views | Created by Paul.Prasanta - Thursday, May 19, 2011 12:23 PM | Last reply by Sheldon _Xiao - Monday, May 23, 2011 4:35 PM -
2 Votes
Binding is missing StringFormat property and others
The other items you mention are things we're thinking about, but not going to make it.Answered | 11 Replies | 7560 Views | Created by Miha Markic - Tuesday, October 4, 2011 9:21 AM | Last reply by StefanOlson - Saturday, May 5, 2012 12:38 AM -
0 Votes
Binding StringFormat from code - Magic Decoder Ring Required?
It seems quite clunky.....because the label has a ContentStringFormat, the binding StringFormat will not work....the ContentStringFormat property on the label is not being ...Answered | 2 Replies | 5690 Views | Created by rdeserranno - Thursday, November 6, 2008 9:39 PM | Last reply by rdeserranno - Monday, November 10, 2008 1:15 PM -
0 Votes
Using StringFormat in xaml for SSN
return null; string ssn = value as string; if (ssn.Length < 11) return null; return "*****" + ssn.Substring(ssn.Length ...Answered | 1 Replies | 814 Views | Created by abdi1234 - Tuesday, July 14, 2015 5:29 AM | Last reply by Andy ONeill - Tuesday, July 14, 2015 7:14 AM - Items 1 to 20 of 2011400 Next ›
No announcements