Navigation


Milos Solution Platform (External Blog)

The Milos Solution Platform is .NET's premier platform for building business applications. This blog is meant for developers who use or evaluate Milos. This blog is used to share tidbits of information provided by the Milos developers at EPS. Many of the posts put the spotlight on new features. We generally recommend that all Milos users (developers) at least scan this blog to keep up with the Milos news.

Content Area Footer

Sunday, September 09, 2007
Automatic Window Title Updates on Navigation

Here is a small but nice tweak: When using navigation UIs, in particular the Office application forms, or the Developer Express application forms, Milos now supports automatic updates of the windows title (the secondary title, actually), from the pane's caption (the pane the user navigates to). This behavior is optional, and can be controlled by means of the UpdateWindowSubTitleFromNavigation property, which can be found on all app form classes.

Note: Related to this change is an update to the INavigationHost interface, which now features a NavigationCompleted event. If you implement this interface somewhere, you simply need to add that event to your implementation as well. The code required to do so is simple:

/// <summary>
/// Occurs after a navigation.
/// </summary>
public event System.EventHandler NavigationComplete; 

Whether you actually use the event or not is up to you. However, we recommend you call if after navigating, which is done in the Navigate() method that goes with the same interface. Here is the new standard implementation for that method: 

/// <summary>
/// Triggers a navigation based on the specified URI
/// </summary>
/// <param name="uri">URI to navigate to</param>
/// <param name="ignoreNavigationHistory">Defines whether the current navigation needs
/// to be added to the navigation history. For instance, a go-back operation is already
/// in the history and thus does not have to be added, while a navigation to a new location
/// has to be added to the history.</param>
/// <returns>True if navigation is successful</returns>
public bool Navigate(string uri, bool ignoreNavigationHistory)
{
    bool retVal = NavigationHelper.Navigate(uri, this.History, this, ignoreHistory,
        this.ForwardControls, this.BackwardControls, this);
    if (this.NavigationComplete != null)
    {
        this.NavigationComplete(this, new EventArgs());
    }
    return retVal;
}
 

That's it! Small change, but nice to have.

  

Posted @ 3:09 AM by Egger, Markus (markus@code-magazine.com) -
Comments (13)




Comments:

RE: Automatic Window Title Updates on Navigation
Friday, June 24, 2011 2:17 AM by Soda Ash Light - kdksjdk@gmail.com

his web site is really a walk-through for all of the info you wanted about this and didn’t know who to ask. Glimpse here, and you’ll definitely discover it.


RE: Automatic Window Title Updates on Navigation
Friday, June 24, 2011 12:50 PM by vestidos de novia - 87867676878@qq.com

Reducing Kinks in Sterling Silver Jewelry
When storing genuine silver chains, especially those 2mm delicate ones that are so popular right now, take a page from how manufacturing companies horde and send their chains. Bulk sequence is stored on reels


RE: Automatic Window Title Updates on Navigation
Wednesday, June 29, 2011 7:27 PM by vibram 5 fingers - cai297472630@126.com

Great job on the blog, it looks great. I am going to save it and will make sure to visit weekly


I
Tuesday, July 05, 2011 9:19 PM by insanity dvd - 1421360297@qq.com

I cant wait to read much more from you. I just feel like you know so substantially and know how to make people listen to what you’ve got to say.


RE: Automatic Window Title Updates on Navigation
Friday, August 12, 2011 3:11 AM by Swimwear Bikinis - qunqin@hotmail.com

One good turn deserves another.
q


RE: Automatic Window Title Updates on Navigation
Friday, September 30, 2011 11:38 PM by blue lizard sunscreen

Follow your dreams, work hard, practice and persevere. Make sure you eat a variety of foods, get plenty of exercise and maintain a healthy lifestyle.


Android developers
Tuesday, October 18, 2011 4:34 AM by Android developers - suchismita.pnda1989@gmail.com

Android is a mobile operating system that has been highly successful because of its incredible features. Most of the smart phones in the market run on Android OS. Since the success of Android, lot of Android Development Companies has spurred up everywhere. We are also putting good logic to develop
more in this feild.


RE: Automatic Window Title Updates on Navigation
Tuesday, November 08, 2011 6:54 PM by iPhone 4S Ringtone Maker - plant2013@gmail.com

iPhone 4S Ringtone Maker is the fastest and easiest way to create custom ringtones for your iPhone.


tattoo supplies
Tuesday, November 15, 2011 9:12 PM by tattoo supplies - bianxing@yahoo.cn

very good, look forward to view your other articles.


monster beats studio headphones sale
Monday, December 19, 2011 12:50 AM by headphones by dr dre - monsterbeatsdreheadphoness@yahoo.com

Monster Beats Over Ear Headphones
monster beats studio headphones sale
monster beats by dre solo
beats by dr dre earphones


burleigh heads accommodation
Monday, December 19, 2011 7:27 AM by burleigh heads accommodation - markj2911@gmail.com

The blog is in reality the great on this worthy subject. I match in together with your conclusions and looking forward to your coming updates. Just saying thanks will not just be enough, for the fantastic clarity inside your writing. I put a link to your blog at my site, hope you don't mind?


http://www.microsoftofficeclub.org/
Sunday, December 25, 2011 11:46 PM by Microsoft Office - carday8@gmail.com

tks,it's a great point!


free crack software download
Monday, December 18, 2017 12:29 PM by SAM broadcaster Crack

very good, look forward to view your other articles.




Post a Comment:

Comment Title (required)

Your Name (optional)

Your Email (optional)

Your Web Site (optional)

Your Comment (required)

 

 

 

 

 

 

 

Syndication RSS 2.0 RSS 2.0

All My Blogs:
My personal blogs:
Dev and Publishing Dev and Publishing
Travel and Internat. Living Travel and Internat. Living
Other blogs I contribute to:
Milos Blog (US) Milos Blog (US)
VFPConv. Dev Blog (US) VFPConv. Dev Blog (US)
VFPConv. Dev Blog (DE) VFPConv. Dev Blog (DE)

 

Blog Archives
All Blog Posts

2010
    November (1)
2009
    July (2)
    February (2)
    January (1)
2008
    December (1)
    October (3)
    June (1)
    April (3)
    February (1)
    January (1)
2007
    December (1)
    October (2)
    September (2)
    July (1)
    June (2)
    May (4)
    April (6)
    March (8)
    February (3)
    January (2)
2006
    December (2)
    November (2)

 

 

 

This Blog is powered by MilosTM Collaboration Components.