Click here to Skip to main content
15,898,588 members
Home / Discussions / WPF
   

WPF

 
QuestionHow to make listbox list items in horizontal Pin
Loveisasea1-Nov-11 19:47
Loveisasea1-Nov-11 19:47 
AnswerRe: How to make listbox list items in horizontal Pin
Abhinav S1-Nov-11 19:56
Abhinav S1-Nov-11 19:56 
GeneralRe: How to make listbox list items in horizontal Pin
Mycroft Holmes1-Nov-11 21:03
professionalMycroft Holmes1-Nov-11 21:03 
GeneralRe: How to make listbox list items in horizontal Pin
Abhinav S1-Nov-11 21:51
Abhinav S1-Nov-11 21:51 
GeneralRe: How to make listbox list items in horizontal Pin
Loveisasea1-Nov-11 22:14
Loveisasea1-Nov-11 22:14 
AnswerRe: How to make listbox list items in horizontal Pin
Mark Salsbery2-Nov-11 5:38
Mark Salsbery2-Nov-11 5:38 
GeneralRe: How to make listbox list items in horizontal Pin
SledgeHammer012-Nov-11 6:32
SledgeHammer012-Nov-11 6:32 
QuestionSivlerlight: the best alternative to a simple WPF-like DataTrigger? Pin
Member 103390731-Oct-11 4:51
Member 103390731-Oct-11 4:51 
Hi, I have a ListBox bond to a collection of following objects with string and bool property:
C#
class Item
{
    public string Text {get;set;}
    public bool IsBold {get;set;}
}

The DataTemplate is simple enough:
<DataTemplate>
    <TextBlock Text="{Binding Text}" />
</DataTemplate>

(could actually use DisplayMemberPath instead, I know)

Now, I want those items that have IsBold == true to be bold-faced. As in WPF, where you add a simple DataTrigger that sets FontWeight=Bold on the TextBlock if IsBold is true.

Is something like this possible in Silverlight and what is the recommended approach? Thanks, H.
AnswerRe: Sivlerlight: the best alternative to a simple WPF-like DataTrigger? Pin
Pete O'Hanlon31-Oct-11 7:59
mvePete O'Hanlon31-Oct-11 7:59 
GeneralRe: Sivlerlight: the best alternative to a simple WPF-like DataTrigger? Pin
Member 103390731-Oct-11 23:16
Member 103390731-Oct-11 23:16 
GeneralRe: Sivlerlight: the best alternative to a simple WPF-like DataTrigger? Pin
Pete O'Hanlon1-Nov-11 0:29
mvePete O'Hanlon1-Nov-11 0:29 
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 

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.