Javob= private void DrawTriangle() { Polygon triangle = new Polygon(); triangle.Points = new PointCollection() { new Point(50, 150), new Point(150, 50), new Point(250, 150) }; triangle.Fill = Brushes.Red; // Och pushti fond triangle.Stroke = Brushes.Black; // Qora chiziq triangle.StrokeThickness = 2; // Chiziq qalinligi
canvas.Children.Add(triangle); } Задание #497 Вопрос: WPFda qaysi qiymat HorizontalAlignment da ham, VerticalAlignment da ham mavjud?
Javob= Center ,Stretch