RibbonGalleryCategory.OnItemsSourceChanged Method
Invoked when the ItemsSource property changes.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overrides Sub OnItemsSourceChanged ( _
oldValue As IEnumerable, _
newValue As IEnumerable _
)
protected override void OnItemsSourceChanged(
IEnumerable oldValue,
IEnumerable newValue
)
protected:
virtual void OnItemsSourceChanged(
IEnumerable^ oldValue,
IEnumerable^ newValue
) override
abstract OnItemsSourceChanged :
oldValue:IEnumerable *
newValue:IEnumerable -> unit
override OnItemsSourceChanged :
oldValue:IEnumerable *
newValue:IEnumerable -> unit
protected override function OnItemsSourceChanged(
oldValue : IEnumerable,
newValue : IEnumerable
)
Parameters
- oldValue
Type: System.Collections.IEnumerable
The old value of the ItemsSource property.
- newValue
Type: System.Collections.IEnumerable
The new value of the ItemsSource 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.