Edit

Share via


UIElementExtensions.SetVisualFactory Method

Definition

Sets the value of VisualFactoryProperty.

public static void SetVisualFactory (Windows.UI.Xaml.UIElement element, Microsoft.Toolkit.Uwp.UI.Media.AttachedVisualFactoryBase value);
static member SetVisualFactory : Windows.UI.Xaml.UIElement * Microsoft.Toolkit.Uwp.UI.Media.AttachedVisualFactoryBase -> unit
Public Shared Sub SetVisualFactory (element As UIElement, value As AttachedVisualFactoryBase)

Parameters

element
Windows.UI.Xaml.UIElement

The Windows.UI.Xaml.UIElement to set the value for.

Applies to