private void GetLiveZoom_Loaded(object sender, RoutedEventArgs e) { foreach (GridViewHeaderItem gvhi in VTHelper.FindVisualChildren <GridViewHeaderItem>((SemanticZoom)sender)) { //Do something with GridViewHeaderItem here foreach (Rectangle rec in VTHelper.FindVisualChildren <Rectangle>(gvhi)) { //Do something with Rectangle here rec.Height = 0; } } }
public VTGraphController() { logic = new VTLogicModel(); helper = new VTHelper(); }