Share via


SubscribeContextCallback 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 ( _
    item As ContextItem _
)
public delegate void SubscribeContextCallback(
    ContextItem item
)
public delegate void SubscribeContextCallback(
    ContextItem^ item
)
type SubscribeContextCallback = 
    delegate of 
        item:ContextItem -> unit
JScript does not support delegates.

Parameters

Remarks

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

See Also

Reference

Microsoft.Windows.Design Namespace

ContextItemManager

SubscribeContextCallback<TContextItemType>

ServiceManager

FeatureManager

Other Resources

Editing Context Architecture

WPF Designer Extensibility