Click here to Skip to main content
15,887,404 members
Home / Discussions / WPF
   

WPF

 
QuestionVS2012 Start Page Template Pin
Kevin Marois19-Mar-15 10:29
professionalKevin Marois19-Mar-15 10:29 
AnswerRe: VS2012 Start Page Template Pin
Afzaal Ahmad Zeeshan25-Mar-15 3:52
professionalAfzaal Ahmad Zeeshan25-Mar-15 3:52 
AnswerRe: VS2012 Start Page Template Pin
Richard MacCutchan25-Mar-15 5:39
mveRichard MacCutchan25-Mar-15 5:39 
GeneralRe: VS2012 Start Page Template Pin
zephaneas25-Mar-15 5:47
zephaneas25-Mar-15 5:47 
GeneralRe: VS2012 Start Page Template Pin
Richard MacCutchan25-Mar-15 6:29
mveRichard MacCutchan25-Mar-15 6:29 
GeneralRe: VS2012 Start Page Template Pin
zephaneas25-Mar-15 6:34
zephaneas25-Mar-15 6:34 
GeneralRe: VS2012 Start Page Template Pin
Richard MacCutchan25-Mar-15 7:56
mveRichard MacCutchan25-Mar-15 7:56 
QuestionVS 2012 Start Page Problem Pin
Kevin Marois19-Mar-15 10:29
professionalKevin Marois19-Mar-15 10:29 
I upgraded a VS 2010 start page to 2010. At the top are 3 objects:

"New Project..."
"Open A Project..."
"Connect To Team Foundation Server"

In VS2010 these are ImageButtons. In VS2012 I can't figure out what they are. So I changed the buttons from:

<vs:ImageButton 
    x:Uid="ConnectToTSButton"
    Margin="15,2,15,2"
    Width="Auto"
    Content="Connect To Team Foundation Server"
    Style="{StaticResource linkStyle}"
    Visibility="{Binding Path=TeamFoundationClientSupported, Converter={StaticResource boolToVisibilityConverter}}"	
    Command="{x:Static sp:VSCommands.ExecuteCommand}" CommandParameter="Team.ConnecttoTeamFoundationServer"    ImageNormal="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/ConnectToTFS.png"    ImageHover="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/ConnectToTFSMouseOver.png"    ImagePressed="pack://application:,,,/Microsoft.VisualStudio.Shell.StartPage;component/Images/StartPage/ConnectToTFSMouseDown.png">
</vs:ImageButton>


to hyperlinks:

<TextBlock Grid.Row="0"
            Margin="10,2,15,2">

    <Hyperlink Command="{x:Static sp:VSCommands.ExecuteCommand}" 
                CommandParameter="Team.ConnecttoTeamFoundationServer">
                        
        <TextBlock Text="Connect To Team Foundation Server"
                    FontSize="14"
                    Foreground="{StaticResource linkColor}"/>
    </Hyperlink>

</TextBlock>



But the links are never enabled. I dropped in a button and wire it to the command, and it also is disabled. So the question is, what makes this command enabled?
If it's not broken, fix it until it is

AnswerRe: VS 2012 Start Page Problem Pin
Afzaal Ahmad Zeeshan25-Mar-15 3:54
professionalAfzaal Ahmad Zeeshan25-Mar-15 3:54 
GeneralRe: VS 2012 Start Page Problem Pin
Kevin Marois25-Mar-15 4:00
professionalKevin Marois25-Mar-15 4:00 
QuestionHow to display a PDF file in WPF form Pin
Kandepu Rajesh19-Mar-15 6:19
Kandepu Rajesh19-Mar-15 6:19 
AnswerRe: How to display a PDF file in WPF form Pin
Gerry Schmitz20-Mar-15 13:28
mveGerry Schmitz20-Mar-15 13:28 
GeneralRe: How to display a PDF file in WPF form Pin
Kandepu Rajesh25-Mar-15 11:53
Kandepu Rajesh25-Mar-15 11:53 
GeneralRe: How to display a PDF file in WPF form Pin
Gerry Schmitz25-Mar-15 12:05
mveGerry Schmitz25-Mar-15 12:05 
QuestionHow would you create a virtual TextEditor? Pin
HerrGilbert10-Mar-15 8:04
professionalHerrGilbert10-Mar-15 8:04 
AnswerRe: How would you create a virtual TextEditor? Pin
Mycroft Holmes10-Mar-15 13:10
professionalMycroft Holmes10-Mar-15 13:10 
GeneralRe: How would you create a virtual TextEditor? Pin
HerrGilbert10-Mar-15 13:47
professionalHerrGilbert10-Mar-15 13:47 
GeneralRe: How would you create a virtual TextEditor? Pin
Mycroft Holmes10-Mar-15 14:14
professionalMycroft Holmes10-Mar-15 14:14 
GeneralRe: How would you create a virtual TextEditor? Pin
HerrGilbert10-Mar-15 20:07
professionalHerrGilbert10-Mar-15 20:07 
SuggestionRe: How would you create a virtual TextEditor? Pin
Richard Deeming11-Mar-15 3:09
mveRichard Deeming11-Mar-15 3:09 
GeneralRe: How would you create a virtual TextEditor? Pin
HerrGilbert11-Mar-15 7:07
professionalHerrGilbert11-Mar-15 7:07 
AnswerRe: How would you create a virtual TextEditor? Pin
Philippe Mori19-Mar-15 7:06
Philippe Mori19-Mar-15 7:06 
GeneralRe: How would you create a virtual TextEditor? Pin
HerrGilbert25-Mar-15 0:19
professionalHerrGilbert25-Mar-15 0:19 
QuestionWPF Drawing an Image on a Rotated Canvas Pin
bontempi29-Mar-15 12:43
bontempi29-Mar-15 12:43 
QuestionRegarding WPF Pin
Member 1146122218-Feb-15 3:36
Member 1146122218-Feb-15 3:36 

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.