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