Quantcast
Channel: Developer Express Inc.
Viewing all articles
Browse latest Browse all 2401

WinForms Outlook Navigation Bar

$
0
0

You might have already seen the new Outlook Navigation Bar control when looking over DevAV sample.

Outlook Navigation Bar

If you have not had the change, you can find the installed sample with your DXperience Installation in this folder:

C:\Users\Public\Documents\DevExpress Demos 14.1\Components\WinForms\DevExpress.OutlookInspiredApp.Win

Besides navigation, the Outlook Navigation Bar has a feature to display a preview form, or as we call it a Peek Form, as soon as the mouse is hovered over a bar item. To implement this, you simply need to assign a control that you want to display in the QueryPeekFormContent event, like so:

CustomersPeek _CustomersPeek;

 

privatevoid OfficeNavigationBar_QueryPeekFormContent(object sender, QueryPeekFormContentEventArgs e) {

    if (_CustomersPeek == null) {

        _CustomersPeek = newCustomersPeek();

    }

 

    e.Control = _CustomersPeek;

}

 

PeekForm

You can download this little sample here

Cheers

Azret


Viewing all articles
Browse latest Browse all 2401

Trending Articles