|
I was looking through Josh Smith's MVVM Example and I noticed he defines a basic view model called CommandViewModel, and looking through his demo app, I just can't see the point of it.
Answer Snippets (Read the full thread at stackoverflow):
HTH, Kent
My impression is that it is a view... .
A collection of these view models is used to render a set of commands, similar to a tool bar or shortcut list .
As far as I can tell, the CommandViewModel just represents a command that the user can perform .
|
|
I would like to pass a parameter defined in the XAML (View) of my application to the ViewModel class by using the RelayCommand. I followed Josh Smith's excellent article on MVVM and have implemented the following.
XAML Code
<Button Command="{Binding...
Started by eesh on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You'll pass the param in the lambda to the command like so:
if (_aCommandWithAParameter == null) { _aCommandWithAParameter = new RelayCommand( param => this.CommandWithAParameter(param) ); }
I don't understand why you have the extra complexity of ... .
|
|
Hawks not talking contract extension with Josh Smith: http://blogs.ajc.com/hawks/2012/05/25/a ... logs_hawks Realgm NFL 2012 Contest
Started by HMFFL on
, 15 posts
by 8 people.
Answer Snippets (Read the full thread at realgm):
Not surprisingly it was Sekou that....
The exchange.
Talented, I'm sure, but worthless to our team.
Would probably prefer Biedrins with Dorell trading Josh Smith for a SF or SG.
Richard Jefferson/Dorrell Wright for Josh Smith.
|
Ask your Facebook Friends
|
Consider the reference article , specifically the example implementation of a RelayCommand (In Figure 3). (No need to read through the entire article for this question.)
In general, I think the implementation is excellent, but I have a question about ...
Started by Greg D on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I may be missing the point here but doesn't the following constitute the strong reference to the event handler in the contructor?
_canExecute = canExecute;
Well, according to Reflector it's implemented the same way in the RoutedCommand class, so I guess... .
|
|
Realistic or not? Getting Josh Smith...
Josh Smith is a young, athletic and extremely talented young forward for the Atlanta Hawks. Already at the age of 26 he has established himself as one of the leagues top defensive and rebounding players.
In the...
Started by Bano114 on
, 12 posts
by 6 people.
Answer Snippets (Read the full thread at insidehoops):
I honestly don't think the Hawks would want to have: Realistic or not? Getting Josh Smith...
Re: Realistic or not? Getting Josh Smith...
|
|
Scenario, Washington gets the 4th or 5th pick
ATL trades:
Josh Smith
WAS trades:
WAS 1st
Why for Atlanta? They blow up their current core, add a top 5 prospect (one of MKG/Beal/Drummond/Robinson) and try to build a new young team around Horford
Why for...
Started by Dr Mufasa on
, 15 posts
by 11 people.
Answer Snippets (Read the full thread at realgm):
You dont trade a high pick for josh smith and more expensive player....
You dont trade a high pick for josh smith in the wizards position.
From Here? (Knicks, Bulls, Magic, Hawks) bad for washington.
|
|
Better player right now - Josh Smith vs. Blake Griffin
As of right now, who do you guys think is the better player between these two?
Smith in the '11-'12 regular season - (35.3 mpg) 18.8 ppg, 9.6 rpg, 3.9 apg, 1.7 bpg, 1.4 spg, 2.5 topg, 45.8% fg, 6...
Started by StateOfMind12 on
, 15 posts
by 11 people.
Answer Snippets (Read the full thread at insidehoops):
Josh ....
Blake Griffin
Griffin is more of a go to player? That being said.. .
Re: Better player right now - Josh Smith vs.
Blake Griffin
Overall, it is not even a question.
Re: Better player right now - Josh Smith vs.
|
|
Atlanta gets:
Andre Iguodala
Philadelphia gets:
Josh Smith
Why for Atlanta? They need. To blow. This Core. Up. Not saying Iggy changes their fate (1st/2nd round knockout), but at least it's something new, a different look. They clearly need to find another...
Started by Dr Mufasa on
, 13 posts
by 12 people.
Answer Snippets (Read the full thread at realgm):
"IF" the Hawks trade Josh, and "BLOW UP THE CORE trading iguodala for Smith would....
"IF" the Hawks trade Josh keep Smith until he ever chooses to walk.
Hawks are probably going keep Smith until he ever chooses to walk.
|
|
Quote: Josh Smith has told the Hawks he wants to be traded ahead of the March 15 deadline, sources tell the Atlanta Journal-Constitution.
Smith has previously complained about getting singled out for criticism by the coaches and media. Now he reportedly...
Started by nolafan33 on
, 13 posts
by 9 people.
Answer Snippets (Read the full thread at sportzin):
Mexi, on 08 March 2012 - ....
Makes sense for Smith, can't be too comforting to see that your team is shopping you year after year and you never know this coming.
Blow the whole team up.
Smith/Hinrich for Pau D: WOW! Did not see this coming.
|
|
I have the perfect solution in order to make this Lakers team young and a contender again. Here it goes...
Pau Gasol & Future picks to Atlanta for Josh Smith and Filler (Maybe Marvin Williams)
Lamar Odom T.E & Devin Ebanks and Andrew Goudelock to Minnesota...
Started by KB#8,#24 on
, 20 posts
by 11 people.
Answer Snippets (Read the full thread at lakersground):
But you have Josh Smith the stretch or you could even be....
We would be a really good team Beasley provides an interesting mismatch is at PF (at least on offense) .
But you have Josh Smith at PF.
Is at PF (at least on offense).
|