Click or drag to resize

XAMLHelper Methods

The XAMLHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetIsInDesignMode
Determines whether the DependencyObject is in design mode or not.

ATTENTION: This is only a wrapper for the DesignerProperties.GetIsInDesignMode(DependencyObject) method (WPF) and the DesignMode.DesignModeEnabled method (UWP).

Public methodStatic memberGetPropertyValueFromPath
Returns the value of the property described by the path.
Public methodStatic memberGetSourceFromPath
Returns the source object of the property described by the path.
Public methodStatic memberParseToInline
Reads the XAML input in the specified text string and returns a Span wrapping the an object that corresponds to the root of the specified markup.

Be careful using this feature in UWP release. Behaviours, action and converters does not work most of the time.

Top
See Also