public void InitLine() { XLine.SetLeftTopAlignment(); XLine.MakeCellIndependent(SchemeView.GridSize); XLine.Fill = Colorer.GetBrushByValue(null); XLine.StrokeThickness = WireThickness; XLine.Tapped += (_, _) => Tapped(this); XLine.PointerEntered += (_, _) => XLine.StrokeThickness *= 2; XLine.PointerExited += (_, _) => XLine.StrokeThickness /= 2; XLine.Stroke = new SolidColorBrush(Colors.Wheat); XLine.Fill = new SolidColorBrush(Colors.Wheat); }