Share via


SubscribeContextCallback<TContextItemType> Delegate

Defines a callback method that is invoked when a context item changes.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public Delegate Sub SubscribeContextCallback(Of TContextItemType As ContextItem) ( _
    item As TContextItemType _
)
public delegate void SubscribeContextCallback<TContextItemType>(
    TContextItemType item
)
where TContextItemType : ContextItem
generic<typename TContextItemType>
where TContextItemType : ContextItem
public delegate void SubscribeContextCallback(
    TContextItemType item
)
type SubscribeContextCallback = 
    delegate of 
        item:'TContextItemType -> unit
JScript does not support generic types or methods.

Type Parameters

  • TContextItemType

Parameters

  • item
    Type: TContextItemType
    The context item that has changed.

Remarks

Use the Subscribe method to subscribe to change notifications on context items.

See Also

Reference

Microsoft.Windows.Design Namespace

ContextItemManager

SubscribeContextCallback

ServiceManager

FeatureManager

Other Resources

Editing Context Architecture

WPF Designer Extensibility