Click or drag to resize

XAMLHelper Class

Provides helper methods for XAML
Inheritance Hierarchy
SystemObject
  Cauldron.XAMLXAMLHelper

Namespace:  Cauldron.XAML
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static class XAMLHelper

The XAMLHelper type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberInlineNamespaces
Gets a collection of namespaces that is used by ParseToInline(String).
Top
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