imageeditor.ColorPalette[0] = Color.HotPink; |
imageeditor.ColorPalette[0] = Color.HotPink;
private void ToolbarSettings_ToolbarItemSelected(object sender, ToolbarItemSelectedEventArgs e)
{
var colors = e.ToolbarItem.Name;
if (colors.Equals("Colors"))
{
PenSettings settings = new PenSettings() { Color = firstColor, StrokeWidth = 10 };
imageeditor.AddShape(ShapeType.Path, settings);
}
} |