RibbonMenuItemsPanel.OnIsItemsHostChanged Method
Called when the IsItemsHost property changes.
Namespace: Microsoft.Windows.Controls.Ribbon.Primitives
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overrides Sub OnIsItemsHostChanged ( _
oldIsItemsHost As Boolean, _
newIsItemsHost As Boolean _
)
protected override void OnIsItemsHostChanged(
bool oldIsItemsHost,
bool newIsItemsHost
)
protected:
virtual void OnIsItemsHostChanged(
bool oldIsItemsHost,
bool newIsItemsHost
) override
abstract OnIsItemsHostChanged :
oldIsItemsHost:bool *
newIsItemsHost:bool -> unit
override OnIsItemsHostChanged :
oldIsItemsHost:bool *
newIsItemsHost:bool -> unit
protected override function OnIsItemsHostChanged(
oldIsItemsHost : boolean,
newIsItemsHost : boolean
)
Parameters
- oldIsItemsHost
Type: System.Boolean
The old value of the IsItemsHost property.
- newIsItemsHost
Type: System.Boolean
The new value of the IsItemsHost property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.