Click here to Skip to main content
15,867,939 members
Home / Discussions / WPF
   

WPF

 
QuestionRe: Silverlight to WPF Porting Pin
Mark Salsbery29-Apr-09 7:21
Mark Salsbery29-Apr-09 7:21 
AnswerRe: Silverlight to WPF Porting Pin
bdb3886529-Apr-09 7:44
bdb3886529-Apr-09 7:44 
GeneralRe: Silverlight to WPF Porting Pin
Mark Salsbery29-Apr-09 8:10
Mark Salsbery29-Apr-09 8:10 
GeneralRe: Silverlight to WPF Porting Pin
bdb3886529-Apr-09 9:10
bdb3886529-Apr-09 9:10 
GeneralRe: Silverlight to WPF Porting Pin
Mark Salsbery29-Apr-09 9:13
Mark Salsbery29-Apr-09 9:13 
GeneralRe: Silverlight to WPF Porting Pin
bdb3886529-Apr-09 9:46
bdb3886529-Apr-09 9:46 
GeneralRe: Silverlight to WPF Porting Pin
Mark Salsbery29-Apr-09 10:39
Mark Salsbery29-Apr-09 10:39 
QuestionAssign a Command to a Template Item Pin
#realJSOP27-Apr-09 9:38
mve#realJSOP27-Apr-09 9:38 
I have a button on a ControlTemplate. I want to handle its click events in the control that uses the template. How would I make that happen?

<ControlTemplate x:Key="UDPTemplateTabControlEx" TargetType="{x:Type TabControl}">
    <Grid x:Name="Grid" KeyboardNavigation.TabNavigation="Local">
        <ScrollViewer x:Name="HeaderPanelEx" Grid.Row="0" Grid.Column="0"...>
            <ScrollViewer.Style>
                <Style TargetType="{x:Type ScrollViewer}">
                    <Setter Property="Template">
                        <Setter.Value>
                            <ControlTemplate>
                                <Grid Margin="0,0,0,0" Grid.Row="0" x:Name="HeaderPanelEx">

                                    <Button Grid.Column="0" Width="25" Content="..." />

                                </Grid>
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                </Style>
            </ScrollViewer.Style>
        </ScrollViewer>
    </Grid>
</ControlTemplate>


I tried putting a name property on it, but I still can't see it in intellisense in the code...


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


AnswerRe: Assign a Command to a Template Item Pin
Wes Aday27-Apr-09 10:47
professionalWes Aday27-Apr-09 10:47 
AnswerRe: Assign a Command to a Template Item Pin
Mark Salsbery27-Apr-09 11:08
Mark Salsbery27-Apr-09 11:08 
GeneralRe: Assign a Command to a Template Item Pin
#realJSOP29-Apr-09 23:58
mve#realJSOP29-Apr-09 23:58 
GeneralRe: Assign a Command to a Template Item Pin
Mark Salsbery30-Apr-09 7:07
Mark Salsbery30-Apr-09 7:07 
AnswerRe: Assign a Command to a Template Item Pin
Philipp Sumi29-Apr-09 22:20
Philipp Sumi29-Apr-09 22:20 
GeneralRe: Assign a Command to a Template Item Pin
User 2710091-May-09 5:13
User 2710091-May-09 5:13 
QuestionProblem with Silverlight-Tools installation Pin
Frank Köppel27-Apr-09 6:41
Frank Köppel27-Apr-09 6:41 
QuestionRe: Problem with Silverlight-Tools installation Pin
Mark Salsbery27-Apr-09 6:59
Mark Salsbery27-Apr-09 6:59 
AnswerRe: Problem with Silverlight-Tools installation Pin
Frank Köppel27-Apr-09 22:08
Frank Köppel27-Apr-09 22:08 
GeneralRe: Problem with Silverlight-Tools installation Pin
Mark Salsbery28-Apr-09 5:26
Mark Salsbery28-Apr-09 5:26 
GeneralRe: Problem with Silverlight-Tools installation Pin
Frank Köppel29-Apr-09 0:58
Frank Köppel29-Apr-09 0:58 
GeneralRe: Problem with Silverlight-Tools installation Pin
Abhinav S9-May-09 1:28
Abhinav S9-May-09 1:28 
QuestionChange current Style on runtime Pin
Antonio Cambule27-Apr-09 3:07
Antonio Cambule27-Apr-09 3:07 
AnswerRe: Change current Style on runtime Pin
Jammer27-Apr-09 8:04
Jammer27-Apr-09 8:04 
GeneralRe: Change current Style on runtime: &gt;Still Open&lt; Pin
Antonio Cambule27-Apr-09 23:01
Antonio Cambule27-Apr-09 23:01 
Questionnotifications to user while uploading? Pin
kavetypavankumar27-Apr-09 3:06
kavetypavankumar27-Apr-09 3:06 
QuestionRe: notifications to user while uploading? Pin
Mark Salsbery27-Apr-09 7:18
Mark Salsbery27-Apr-09 7:18 

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.