OfficeRibbon.Context Property

 

Gets the Inspector window, or the Explorer window in Outlook, that is associated with this Ribbon.

Namespace:   Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

object Context { get; }

Property Value

Type: System.Object

An Object that represents the Inspector window or Explorer window that is associated with this OfficeRibbon object.

In Outlook, this property refers to the Inspector window or Explorer window in which this OfficeRibbon is displayed.

In all other Office projects, this property returns null.

Return to top
Show: