Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

viewMasterTab property

Sets or retrieves a value that indicates whether the master element of a viewlink is included in the tab sequence of the primary document.

This property is not supported for Windows Store apps using JavaScript.


HRESULT value = object.put_viewMasterTab( v);HRESULT value = object.get_viewMasterTab(* p);

Property values



Default. Tabbing from an element in the primary document to a viewlink sets focus to the master element.


Tabbing from an element in the primary document to a viewlink sets focus to the next tab stop, bypassing the master element.


Tabbing order goes from every tab stop within the viewlink to every tab stop in the primary document, based on sequence and IHTMLElement2::tabIndex value. By default, the master element participates in the tab sequence of the primary document, even if there are no tab stops defined within the viewlink.

When using a viewlink, the body element inside the viewlink is not tabbable by default; the author must set the IHTMLElement2::tabIndex property if the behavior is designed to display a focus rectangle on the linked document. Setting the IHTMLElement2::tabIndex property on the body of the document fragment causes the HTMLFrameSiteEvents::onfocus and HTMLFrameSiteEvents::onactivate events to fire when the viewlink document body receives focus.

See also

Introduction to Viewlink
About Element Behaviors



Community Additions

© 2015 Microsoft