Skip to main content

XamlHelper

Kind: class

XAML helper methods to implement custom view managers.

Properties

ReactTagProperty

static readonly DependencyProperty ReactTagProperty

Returns the attached property where the react tag is stored on a XAML Dependency Object.

Methods

BrushFrom

static Brush BrushFrom(JSValueArgWriter valueProvider)

Returns a Brush from JSValueArgWriter.

ColorFrom

static Color ColorFrom(JSValueArgWriter valueProvider)

Returns a Color from JSValueArgWriter.

GetReactTag

static int64_t GetReactTag(DependencyObject dependencyObject)

Gets the react tag from a backing XAML element.

SetReactTag

static void SetReactTag(DependencyObject dependencyObject, int64_t tag)

Sets the react tag for a XAML element.