Delegado SubscribeContextCallback<TContextItemType>

Define um método de retorno de chamada é invocado quando um item de contexto é alterado.

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

Sintaxe

'Declaração
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
O JScript não oferece suporte a tipos ou métodos genéricos.

Parâmetros de tipo

  • TContextItemType

Parâmetros

  • item
    Tipo: TContextItemType
    O item de contexto foi alterado.

Comentários

Use o Subscribe método para se inscrever na alteração de notificações no contexto de itens.

Consulte também

Referência

Namespace Microsoft.Windows.Design

ContextItemManager

SubscribeContextCallback

ServiceManager

FeatureManager

Outros recursos

Editar contexto arquitetura

Extensibilidade do WPF Designer