Click here to Skip to main content
15,894,180 members
Home / Discussions / WPF
   

WPF

 
QuestionHyperlinkButton won't navigate to external site Pin
fjparisIII15-Feb-10 10:56
fjparisIII15-Feb-10 10:56 
AnswerRe: HyperlinkButton won't navigate to external site Pin
Abhinav S15-Feb-10 11:03
Abhinav S15-Feb-10 11:03 
GeneralRe: HyperlinkButton won't navigate to external site Pin
fjparisIII15-Feb-10 11:39
fjparisIII15-Feb-10 11:39 
AnswerRe: HyperlinkButton won't navigate to external site Pin
Sundeep Ganiga15-Feb-10 20:07
Sundeep Ganiga15-Feb-10 20:07 
GeneralRe: HyperlinkButton won't navigate to external site Pin
fjparisIII16-Feb-10 6:26
fjparisIII16-Feb-10 6:26 
AnswerRe: HyperlinkButton won't navigate to external site Pin
Kunal Chowdhury «IN»15-Feb-10 20:11
professionalKunal Chowdhury «IN»15-Feb-10 20:11 
GeneralRe: HyperlinkButton won't navigate to external site Pin
fjparisIII16-Feb-10 6:23
fjparisIII16-Feb-10 6:23 
QuestionChange content in MainWindow / Navigation Pin
PingOfDeath198314-Feb-10 20:30
PingOfDeath198314-Feb-10 20:30 
Hi,

I cant figure out how to switch my customcontrols when clicking on a menubar-button.
I have a MainWindow containing the following XAML:

<DockPanel x:Name="MainWindow">

        <Menu Name="dropDownMenu"
              DockPanel.Dock="Top">

            <MenuItem Name="dropDownPage1" Header="File">
                <MenuItem Header="Page1" Click="dropDown_Page1"/>
            </MenuItem>

            <MenuItem Name="dropDownPage2" Header="File">
                <MenuItem Header="Page2" Click="dropDown_Page2"/>
            </MenuItem>

        </Menu>
        
        <Grid Name="gridMainContent" DockPanel.Dock="Top">
            <TextBlock>placeholder main content</TextBlock>
        </Grid>
        
        <Grid Name="gridStatusBar" DockPanel.Dock="Bottom">
            <TextBlock>placeholder statusbar</TextBlock>
        </Grid>
    </DockPanel>



The task is when clicking on one menubutton i.e. "dropDown_Page1", changing the content of the grid "gridMainContent".
Is there a way to place customcontrols into a grid without code in any *.cs File ? It would be wonderfull if somebody could help me on this.

Cause I´m new to WPF, I welcome you to show me other ways of doing this!

Thx! PingOfDeath
AnswerRe: Change content in MainWindow / Navigation Pin
AspDotNetDev14-Feb-10 20:53
protectorAspDotNetDev14-Feb-10 20:53 
GeneralRe: Change content in MainWindow / Navigation Pin
BlitzPackage17-Feb-10 5:29
BlitzPackage17-Feb-10 5:29 
GeneralRe: Change content in MainWindow / Navigation Pin
AspDotNetDev17-Feb-10 9:45
protectorAspDotNetDev17-Feb-10 9:45 
GeneralRe: Change content in MainWindow / Navigation Pin
quetzilla21-Feb-10 4:45
quetzilla21-Feb-10 4:45 
QuestionSilverlight Intellisense Pin
Jammer13-Feb-10 8:49
Jammer13-Feb-10 8:49 
AnswerRe: Silverlight Intellisense Pin
Abhinav S13-Feb-10 9:00
Abhinav S13-Feb-10 9:00 
QuestionIs it possible to add silverlight popup in asp.net code Pin
xodeblack13-Feb-10 4:03
xodeblack13-Feb-10 4:03 
AnswerRe: Is it possible to add silverlight popup in asp.net code Pin
Abhinav S13-Feb-10 7:56
Abhinav S13-Feb-10 7:56 
AnswerRe: Is it possible to add silverlight popup in asp.net code Pin
Kunal Chowdhury «IN»15-Feb-10 20:15
professionalKunal Chowdhury «IN»15-Feb-10 20:15 
GeneralRe: Is it possible to add silverlight popup in asp.net code Pin
xodeblack16-Feb-10 10:46
xodeblack16-Feb-10 10:46 
QuestionProblem in Pausing a Storyboard in WPF ? Pin
Mohammad Dayyan13-Feb-10 1:21
Mohammad Dayyan13-Feb-10 1:21 
AnswerRe: Problem in Pausing a Storyboard in WPF ? Pin
BlitzPackage15-Feb-10 4:33
BlitzPackage15-Feb-10 4:33 
GeneralRe: Problem in Pausing a Storyboard in WPF ? Pin
Mohammad Dayyan15-Feb-10 5:05
Mohammad Dayyan15-Feb-10 5:05 
QuestionButton not firing in WPF Toolkit datagrid Pin
Member 454056412-Feb-10 8:12
Member 454056412-Feb-10 8:12 
AnswerRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev12-Feb-10 20:41
protectorAspDotNetDev12-Feb-10 20:41 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
Hannes Larsson17-Feb-10 20:36
Hannes Larsson17-Feb-10 20:36 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev17-Feb-10 21:42
protectorAspDotNetDev17-Feb-10 21:42 

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.