Ribbon::IsHostedInRibbonWindow Property

.NET Framework 4.5

Gets a value that indicates whether the Ribbon is currently hosted in a RibbonWindow.

Namespace:  System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

property bool IsHostedInRibbonWindow {
	bool get ();
	private: void set (bool value);

Property Value

Type: System::Boolean
true if the Ribbon is hosted in a RibbonWindow; otherwise, false. The registered default is false. For more information about what can influence the value, see Dependency Property Value Precedence.

Identifier field


Metadata properties set to true


.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft