Click here to Skip to main content
16,010,553 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF Bind Radio Buttons To Tab Control Pin
SledgeHammer0127-Aug-12 9:59
SledgeHammer0127-Aug-12 9:59 
AnswerRe: WPF Bind Radio Buttons To Tab Control Pin
Martijn Kok31-Aug-12 4:27
Martijn Kok31-Aug-12 4:27 
AnswerRe: WPF Bind Radio Buttons To Tab Control Pin
Clifford Nelson6-Sep-12 13:44
Clifford Nelson6-Sep-12 13:44 
QuestionWPF Extended Toolkit PropertyGrid - Turn off sorting? Pin
#realJSOP26-Aug-12 2:54
professional#realJSOP26-Aug-12 2:54 
AnswerRe: WPF Extended Toolkit PropertyGrid - Turn off sorting? Pin
Abhinav S27-Aug-12 1:56
Abhinav S27-Aug-12 1:56 
GeneralRe: WPF Extended Toolkit PropertyGrid - Turn off sorting? Pin
#realJSOP27-Aug-12 4:18
professional#realJSOP27-Aug-12 4:18 
QuestionDoes WPF propertyGrid support collection of items other than Enum? Pin
sree140824-Aug-12 2:06
sree140824-Aug-12 2:06 
AnswerRe: Does WPF propertyGrid support collection of items other than Enum? Pin
Matt T Heffron24-Aug-12 8:10
professionalMatt T Heffron24-Aug-12 8:10 
QuestionInvalidateMeasure doesn't trigger MeasureOverride call? Pin
SledgeHammer0122-Aug-12 13:09
SledgeHammer0122-Aug-12 13:09 
AnswerRe: InvalidateMeasure doesn't trigger MeasureOverride call? Pin
Pete O'Hanlon22-Aug-12 13:21
mvePete O'Hanlon22-Aug-12 13:21 
GeneralRe: InvalidateMeasure doesn't trigger MeasureOverride call? Pin
SledgeHammer0122-Aug-12 13:40
SledgeHammer0122-Aug-12 13:40 
GeneralRe: InvalidateMeasure doesn't trigger MeasureOverride call? Pin
Pete O'Hanlon22-Aug-12 23:53
mvePete O'Hanlon22-Aug-12 23:53 
GeneralRe: InvalidateMeasure doesn't trigger MeasureOverride call? Pin
SledgeHammer0123-Aug-12 5:08
SledgeHammer0123-Aug-12 5:08 
GeneralRe: InvalidateMeasure doesn't trigger MeasureOverride call? Pin
Pete O'Hanlon23-Aug-12 5:15
mvePete O'Hanlon23-Aug-12 5:15 
GeneralRe: InvalidateMeasure doesn't trigger MeasureOverride call? Pin
SledgeHammer0123-Aug-12 8:34
SledgeHammer0123-Aug-12 8:34 
GeneralRe: InvalidateMeasure doesn't trigger MeasureOverride call? Pin
SledgeHammer0123-Aug-12 13:03
SledgeHammer0123-Aug-12 13:03 
QuestionWPF Problem With WrapPanel In ListBox.ItemsPanel [UPDATED] Pin
Kevin Marois20-Aug-12 14:33
professionalKevin Marois20-Aug-12 14:33 
QuestionSwitch WPF UI at runtime Pin
Ed Hill _5_17-Aug-12 0:43
Ed Hill _5_17-Aug-12 0:43 
AnswerRe: Switch WPF UI at runtime Pin
Kenneth Haugland18-Aug-12 12:54
mvaKenneth Haugland18-Aug-12 12:54 
GeneralRe: Switch WPF UI at runtime Pin
Ed Hill _5_18-Aug-12 23:45
Ed Hill _5_18-Aug-12 23:45 
I'm trying to allow the user to switch which DataTemplate is used for an object based on a choice by the user. At a very basic level consider an oject you have written called MyObject:
XML
<ResourceDictionary>
    <DataTemplate DataType={x:Type MyObject}>
        <Rectanble Width="50" Height="50"/>
    </DataTemplate>
    <DataTemplate DataType={x:Type MyObject}>
        <EllipseWidth="50" Height="50"/>
    </DataTemplate>
    <DataTemplate DataType={x:Type MyObject}>
        <TextBox Width="120" Height="30" Text={Binding MyObjectName}/>
    </DataTemplate>
</ResourceDictionary>

That resource Dictionary provides 3 different DataTemplates for the same object, what i want is a mechanism to let the user pick which one gets used, but in the actual situation things are a little more complex, but once i sort the right way to do the switching then i'll be able to implement that for the more complex situation.
AnswerRe: Switch WPF UI at runtime Pin
Abhinav S18-Aug-12 18:31
Abhinav S18-Aug-12 18:31 
GeneralRe: Switch WPF UI at runtime Pin
Ed Hill _5_19-Aug-12 21:57
Ed Hill _5_19-Aug-12 21:57 
AnswerRe: Switch WPF UI at runtime Pin
Pete O'Hanlon20-Aug-12 0:48
mvePete O'Hanlon20-Aug-12 0:48 
QuestionWPF ListBox Question Pin
Kevin Marois15-Aug-12 15:22
professionalKevin Marois15-Aug-12 15:22 
AnswerRe: WPF ListBox Question Pin
Ed Hill _5_15-Aug-12 22:07
Ed Hill _5_15-Aug-12 22:07 

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.