StrategyManager.RegisterStrategy<TTarget, TStrategy>() Method

Registers a custom strategy for the specified control's type.

Namespace: DevExpress.Mvvm.UI.ModuleInjection

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public void RegisterStrategy<TTarget, TStrategy>()
    where TTarget : DependencyObject where TStrategy : IStrategy, new()
Public Sub RegisterStrategy(Of TTarget As DependencyObject, TStrategy As {IStrategy, New})

Type Parameters

Name
TTarget
TStrategy

Remarks

To learn how to create a custom strategy, see the Implementing Custom Strategy section in the ViewInjectionService topic.

See Also