/// <summary> /// Modify an existing Query. /// </summary> public DefineQueryControl(Query query, SubLayerDescription description) : this() { QueryProperties = new QueryWindowProperties() { Query = query, SubLayerDescription = description }; }
static void OnQueryWindowPropsChange(DependencyObject d, DependencyPropertyChangedEventArgs e) { DefineQueryControl o = d as DefineQueryControl; QueryWindowProperties props = e.NewValue as QueryWindowProperties; o.setQueryProps(); }