Click here to Skip to main content
15,923,219 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: objects added to an IDictionary must have a Key attribute Pin
Venkatesh Mookkan16-May-11 0:58
Venkatesh Mookkan16-May-11 0:58 
GeneralRe: objects added to an IDictionary must have a Key attribute Pin
Lutosław16-May-11 1:17
Lutosław16-May-11 1:17 
QuestionPayment Gateway in Silverlight [modified] Pin
Vimalsoft(Pty) Ltd15-May-11 1:59
professionalVimalsoft(Pty) Ltd15-May-11 1:59 
AnswerRe: Payment Gateway in Silverlight Pin
BobJanova16-May-11 22:45
BobJanova16-May-11 22:45 
QuestionControl Template not applied Pin
Lutosław14-May-11 10:11
Lutosław14-May-11 10:11 
AnswerRe: Control Template not applied Pin
SledgeHammer0114-May-11 10:59
SledgeHammer0114-May-11 10:59 
GeneralRe: Control Template not applied Pin
Lutosław14-May-11 11:53
Lutosław14-May-11 11:53 
NewsRe: Control Template not applied Pin
Lutosław14-May-11 13:12
Lutosław14-May-11 13:12 
I have made a dirty work-around, revealing another error: The controls I wish to template derive from DesignerItem class (which is a UserControl). I wanted to template all of them by setting TargetType to that base type. Nope. Setting to "Control" also didn't work. So here it is:
<Style x:Key="DesignerItemStyle" TargetType="local:DesignerItem">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="local:DesignerItem">
                <Grid DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}">
                    <local:MoveThumb Template="{StaticResource MoveThumbTemplate}" Cursor="SizeAll"/>
                    <ContentPresenter Content="{TemplateBinding UserControl.Content}" IsHitTestVisible="False" />
                </Grid>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>
<Style TargetType="local:TransitionVisual" BasedOn="{StaticResource DesignerItemStyle}" />
<Style TargetType="local:PlaceVisual" BasedOn="{StaticResource DesignerItemStyle}" />

Still, I do not consider the problem as solved
Greetings - Jacek

GeneralRe: Control Template not applied [modified] Pin
Mark Salsbery14-May-11 13:21
Mark Salsbery14-May-11 13:21 
GeneralRe: Control Template not applied Pin
Lutosław14-May-11 14:29
Lutosław14-May-11 14:29 
QuestionObject looses a Cookie Value in Silverlight Pin
Vimalsoft(Pty) Ltd14-May-11 5:12
professionalVimalsoft(Pty) Ltd14-May-11 5:12 
QuestionRe: Object looses a Cookie Value in Silverlight Pin
Mark Salsbery14-May-11 7:21
Mark Salsbery14-May-11 7:21 
AnswerRe: Object looses a Cookie Value in Silverlight Pin
Vimalsoft(Pty) Ltd14-May-11 7:31
professionalVimalsoft(Pty) Ltd14-May-11 7:31 
AnswerRe: Object looses a Cookie Value in Silverlight Pin
Abhinav S15-May-11 5:29
Abhinav S15-May-11 5:29 
GeneralRe: Object looses a Cookie Value in Silverlight Pin
Vimalsoft(Pty) Ltd15-May-11 5:35
professionalVimalsoft(Pty) Ltd15-May-11 5:35 
QuestionMVVM Model Pin
Member 455049313-May-11 1:34
Member 455049313-May-11 1:34 
AnswerRe: MVVM Model Pin
Nicolai Schrade13-May-11 4:04
Nicolai Schrade13-May-11 4:04 
AnswerRe: MVVM Model [modified] Pin
RobCroll14-May-11 0:52
RobCroll14-May-11 0:52 
AnswerRe: MVVM Model Pin
Abhinav S15-May-11 5:27
Abhinav S15-May-11 5:27 
AnswerRe: MVVM Model Pin
_Maxxx_16-May-11 2:45
professional_Maxxx_16-May-11 2:45 
QuestionAbout Apllication More Memory usage Pin
Member 455049313-May-11 1:29
Member 455049313-May-11 1:29 
QuestionRe: About Apllication More Memory usage Pin
Mark Salsbery13-May-11 6:15
Mark Salsbery13-May-11 6:15 
AnswerRe: About Apllication More Memory usage Pin
Member 455049315-May-11 5:18
Member 455049315-May-11 5:18 
AnswerRe: About Apllication More Memory usage Pin
Vimalsoft(Pty) Ltd15-May-11 5:39
professionalVimalsoft(Pty) Ltd15-May-11 5:39 
QuestionShow task bar after maximise the window in wpf Pin
Naufalkk13-May-11 0:08
Naufalkk13-May-11 0:08 

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.