Table of Contents

Class UIElementExtensions

Namespace
Whim
Assembly
Whim.dll
Extension methods for UIElement.
public static class UIElementExtensions
Inheritance
UIElementExtensions
Inherited Members

Methods

AddRange(UIElementCollection, IEnumerable<UIElement>)

Adds a range of elements to the collection.
public static void AddRange(this UIElementCollection collection, IEnumerable<UIElement> elements)

Parameters

collection UIElementCollection
elements IEnumerable<UIElement>

InitializeComponent(object, string, string)

Initializes the component with the specified namespace and path. This is necessary, as the build process will copy the plugins from the relevant project to the /plugins folder in Whim.Runner. As a result, the the Uri of LoadComponent(object, Uri, ComponentResourceLocation) will be relative to the originating project, not the Whim.Runner project.
public static void InitializeComponent(object component, string componentNamespace, string componentPath)

Parameters

component object
The component to initialize.
componentNamespace string
The namespace of the component.
componentPath string
The path to the XAML component. Do not include the .xaml extension.