/// <summary> /// Sets the DependencyProperty value of the DependencyObject. /// </summary> /// <returns>The new value of the dependency property</returns> public static string SetDependencyPropertyValue(this QueryEx query, string dependencyPropertyName, string value) => App.Query(q => query.Unwrap(q).SetDependencyPropertyValue(dependencyPropertyName, value).Value <string>()).FirstOrDefault();
/// <summary> /// Gets the DependencyProperty value of the DependencyObject return by the query. /// </summary> public static object GetDependencyPropertyValue(this QueryEx query, string dependencyPropertyName) => App.Query(q => query.Unwrap(q).InvokeGeneric("browser:Uno.UI.WindowManager.current|GetDependencyPropertyValue", dependencyPropertyName)).FirstOrDefault();