public MaterialPanel() : base() { isDisposing = false; stringToColor = new StringToColorConverter(); stringToThickness = new StringToThicknessConverter(); stringToCornerRadius = new StringToCornerRadiusConverter(); }
public MaterialStackLayoud() : base() { isDisposing = false; stringToColor = new StringToColorConverter(); stringToThickness = new StringToThicknessConverter(); stringToCornerRadius = new StringToCornerRadiusConverter(); canvas = new SKCanvasView(); canvas.PaintSurface += OnPaintSurface; Children.Add(canvas); }