SubscribeContextCallback<ContextItemType> Delegate

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

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

Syntax

'Declaration
Public Delegate Sub SubscribeContextCallback(Of ContextItemType As ContextItem) ( _
    item As ContextItemType _
)
'Usage
Dim instance As New SubscribeContextCallback(Of ContextItemType)(AddressOf HandlerMethod)
public delegate void SubscribeContextCallback<ContextItemType>(
    ContextItemType item
)
where ContextItemType : ContextItem
generic<typename ContextItemType>
where ContextItemType : ContextItem 
public delegate void SubscribeContextCallback(
    ContextItemType item
)
JScript does not support generic types or methods.

Type Parameters

  • ContextItemType

Parameters

  • item
    Type: ContextItemType

    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