RibbonBase.Context Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Inspector window, or the Explorer window in Outlook, that is associated with this Ribbon.
public:
property System::Object ^ Context { System::Object ^ get(); };
public object Context { get; }
member this.Context : obj
Public ReadOnly Property Context As Object
Property Value
An Object that represents the Inspector window or Explorer window that is associated with this RibbonBase object.
Remarks
In Outlook, this property refers to the Inspector window or Explorer window in which this RibbonBase is displayed.
In all other Office projects, this property returns null.