Click here to Skip to main content
15,913,027 members
Home / Discussions / WPF
   

WPF

 
QuestionData binding in WPF Pin
Razanust19-Mar-11 20:25
Razanust19-Mar-11 20:25 
AnswerRe: Data binding in WPF Pin
Keith Barrow20-Mar-11 4:04
professionalKeith Barrow20-Mar-11 4:04 
AnswerRe: Data binding in WPF Pin
Abhinav S21-Mar-11 6:46
Abhinav S21-Mar-11 6:46 
QuestionShowing another window using visible property. Pin
Razanust19-Mar-11 18:11
Razanust19-Mar-11 18:11 
AnswerRe: Showing another window using visible property. Pin
RobCroll20-Mar-11 3:05
RobCroll20-Mar-11 3:05 
QuestionBook recommendation PinPopular
arkiboys18-Mar-11 3:43
arkiboys18-Mar-11 3:43 
AnswerRe: Book recommendation Pin
Richard MacCutchan19-Mar-11 22:29
mveRichard MacCutchan19-Mar-11 22:29 
GeneralRe: Book recommendation Pin
Kevin Marois21-Mar-11 8:03
professionalKevin Marois21-Mar-11 8:03 
GeneralRe: Book recommendation Pin
Richard MacCutchan21-Mar-11 8:39
mveRichard MacCutchan21-Mar-11 8:39 
AnswerRe: Book recommendation Pin
Abhinav S20-Mar-11 20:24
Abhinav S20-Mar-11 20:24 
GeneralRe: Book recommendation Pin
arkiboys20-Mar-11 22:44
arkiboys20-Mar-11 22:44 
GeneralRe: Book recommendation Pin
Richard MacCutchan20-Mar-11 23:29
mveRichard MacCutchan20-Mar-11 23:29 
GeneralRe: Book recommendation Pin
arkiboys20-Mar-11 23:44
arkiboys20-Mar-11 23:44 
QuestionShow datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Ankur Cistems18-Mar-11 1:26
Ankur Cistems18-Mar-11 1:26 
AnswerRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Pete O'Hanlon18-Mar-11 2:11
mvePete O'Hanlon18-Mar-11 2:11 
GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Ankur Cistems18-Mar-11 2:27
Ankur Cistems18-Mar-11 2:27 
GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Pete O'Hanlon18-Mar-11 2:31
mvePete O'Hanlon18-Mar-11 2:31 
GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Ankur Cistems18-Mar-11 2:57
Ankur Cistems18-Mar-11 2:57 
GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Mycroft Holmes18-Mar-11 14:19
professionalMycroft Holmes18-Mar-11 14:19 
GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Pete O'Hanlon18-Mar-11 23:10
mvePete O'Hanlon18-Mar-11 23:10 
GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Ankur Cistems20-Mar-11 21:11
Ankur Cistems20-Mar-11 21:11 
QuestionBinding to a RepeatBehavior property Pin
Lutosław17-Mar-11 11:18
Lutosław17-Mar-11 11:18 
AnswerRe: Binding to a RepeatBehavior property Pin
Lutosław17-Mar-11 11:20
Lutosław17-Mar-11 11:20 
Pete's answer:

Pete wrote:
The issue is that resources that are in or consumed in a control template have to be frozen. This is done so that the resource can be shared across control instances quickly. Once you set the binding on the Dependency Object on a Freezable, you stop it from being frozen.

As you can't create a static resource of the RepeatBehavior, I'd suggest that this is one of those instances where it is perfectly legitimate to have code in the code behind of the view. Don't tie yourself into logical knots here - view specific code in the view code-behind is legitimate.

Greetings - Jacek

GeneralRe: Binding to a RepeatBehavior property Pin
Pete O'Hanlon17-Mar-11 11:30
mvePete O'Hanlon17-Mar-11 11:30 
QuestionCustom Pagination with WCF Service and stored proc. Pin
Member 776277317-Mar-11 4:53
Member 776277317-Mar-11 4:53 

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.