15,904,416 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Garethb_83 (Top 5 by date)
Garethb_83
3-Feb-13 18:41pm
View
Thanks very much. Will do some googling now for setting the first/default content. I cant seem to grap it from your C#. Thanks again!
Garethb_83
3-Feb-13 18:36pm
View
I have and implemnted in my project. Working great. The only thing i'm struggling with is setting the default view onload.
Garethb_83
3-Feb-13 18:05pm
View
Thats super. I'm understanding whats going on (Sort of) but i have only been learning VB.. Can I set the default source of the content control within the XAML then adjust the view by the button... Is it fairly easy to convert to VB?
Garethb_83
3-Feb-13 16:46pm
View
Hi there, this is the first time i have used forums.. Tried to put code in the comment box which Idon't think it supports. I have reposted as a solution. Not sure If I have done the right thing but its displaying now below.
Garethb_83
3-Feb-13 16:43pm
View
Deleted
Thanks you for our help. I have read the first link earlier today. I think I was struggling with what i needed to search for mainly. I will certainly ready the other links..
Re the contect control, Do you have a guide which would be looking at 2 pages and navigating to these embeded in the main window?
I have the following Currently
<window x:class="MainScreen"
="" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" title="MainWindow" height="768" width="1366">
<grid>
<dockpanel lastchildfill="True">
<textblock fontsize="50" textwrapping="Wrap">THIS IS WHERE I NEED TO POSITION THE MAIN CONTENT. tHIS WILL CHANGE DEPENDING ON WHAT MENU IS SELECTED FROM THE SIDE BAR
<dockpanel lastchildfill="False">
<border dockpanel.dock="Right" width="100" margin="0" opacity=".9">
<border.background>
<LinearGradientBrush EndPoint="0.504,1.5" StartPoint="0.504,0.20">
<gradientstop color="#FF4B4343" offset="0">
<gradientstop color="#FFACB0B0" offset="0.567">
</LinearGradientBrush>
<stackpanel margin="20">
<Button Margin="0,10,0,0" Width="50" Height="50">Menu 1</Button>
<Button Margin="0,10,0,0" Width="50" Height="50">Menu 2</Button>
<Button Margin="0,10,0,0" Width="50" Height="50">Menu 3</Button>
<Button Margin="0,10,0,0" Width="50" Height="50">Menu 4</Button>
<Button Margin="0,10,0,0" Width="50" Height="50">Menu 5</Button>
<border dockpanel.dock="Bottom" padding="20" margin="20" width="300" horizontalalignment="Left" cornerradius="10" removed="Black" opacity="0.7">
<textblock fontsize="50" foreground="White" textalignment="Center">10:50