Click here to Skip to main content
15,911,142 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Sivlerlight: the best alternative to a simple WPF-like DataTrigger? Pin
Member 10339071-Nov-11 2:11
Member 10339071-Nov-11 2:11 
GeneralRe: Sivlerlight: the best alternative to a simple WPF-like DataTrigger? Pin
Pete O'Hanlon1-Nov-11 2:43
mvePete O'Hanlon1-Nov-11 2:43 
QuestionValidation of a combobox in Silverlight 4 Pin
Phillip Donegan31-Oct-11 2:46
Phillip Donegan31-Oct-11 2:46 
AnswerRe: Validation of a combobox in Silverlight 4 Pin
Phillip Donegan1-Nov-11 22:54
Phillip Donegan1-Nov-11 22:54 
QuestionBlinking Pushpin in Bing Map Silverlight control Pin
Majid Shahabfar30-Oct-11 2:26
Majid Shahabfar30-Oct-11 2:26 
QuestionHow to Bind Canvas.Left Property Pin
Turhan Coskun28-Oct-11 3:51
professionalTurhan Coskun28-Oct-11 3:51 
GeneralRe: How to Bind Canvas.Left Property Pin
Turhan Coskun28-Oct-11 4:07
professionalTurhan Coskun28-Oct-11 4:07 
AnswerRe: How to Bind Canvas.Left Property Pin
Turhan Coskun28-Oct-11 10:09
professionalTurhan Coskun28-Oct-11 10:09 
QuestionProblem filtering Data in DomainService query Pin
jadughar28-Oct-11 0:06
jadughar28-Oct-11 0:06 
AnswerRe: Problem filtering Data in DomainService query Pin
jadughar28-Oct-11 3:13
jadughar28-Oct-11 3:13 
QuestionBinding RadTreeView SelectedItem in Code Behind Pin
Kevin Marois27-Oct-11 8:20
professionalKevin Marois27-Oct-11 8:20 
AnswerRe: Binding RadTreeView SelectedItem in Code Behind Pin
SledgeHammer0127-Oct-11 8:40
SledgeHammer0127-Oct-11 8:40 
GeneralRe: Binding RadTreeView SelectedItem in Code Behind Pin
Kevin Marois27-Oct-11 8:43
professionalKevin Marois27-Oct-11 8:43 
AnswerRe: Binding RadTreeView SelectedItem in Code Behind Pin
Mark Salsbery27-Oct-11 8:46
Mark Salsbery27-Oct-11 8:46 
QuestionSetting TextBlock width from code behind Pin
indian14326-Oct-11 7:20
indian14326-Oct-11 7:20 
AnswerRe: Setting TextBlock width from code behind Pin
Mark Salsbery26-Oct-11 7:23
Mark Salsbery26-Oct-11 7:23 
GeneralRe: Setting TextBlock width from code behind Pin
indian14326-Oct-11 7:53
indian14326-Oct-11 7:53 
GeneralRe: Setting TextBlock width from code behind Pin
SledgeHammer0126-Oct-11 8:48
SledgeHammer0126-Oct-11 8:48 
If you are trying to size to content, don't set the width manually and the control will auto-size. There is a lot more to auto-sizing then just the string length. What about font, font size, font style, fixed width vs. true type, etc?

EDIT: since you mentioned View Model, I assume you are using MVVM. The VM doesn't have access to the View unless you passed it in to the VM using various methods, but thats kind of defeating the whole point.
GeneralRe: Setting TextBlock width from code behind Pin
Kim Breugelmans26-Oct-11 10:21
Kim Breugelmans26-Oct-11 10:21 
AnswerRe: Setting TextBlock width from code behind Pin
AspDotNetDev26-Oct-11 10:17
protectorAspDotNetDev26-Oct-11 10:17 
GeneralRe: Setting TextBlock width from code behind Pin
indian14326-Oct-11 12:19
indian14326-Oct-11 12:19 
QuestionSSRS 2008 reports in Silverlight 4 apps Pin
arkiboys26-Oct-11 5:21
arkiboys26-Oct-11 5:21 
AnswerRe: SSRS 2008 reports in Silverlight 4 apps Pin
Mark Salsbery26-Oct-11 5:45
Mark Salsbery26-Oct-11 5:45 
AnswerRe: SSRS 2008 reports in Silverlight 4 apps Pin
Mycroft Holmes26-Oct-11 14:10
professionalMycroft Holmes26-Oct-11 14:10 
GeneralRe: SSRS 2008 reports in Silverlight 4 apps Pin
arkiboys26-Oct-11 23:41
arkiboys26-Oct-11 23:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.