UIElementExtensions.SetVisualFactory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The AttachedVisualFactoryBase value to set.