/// <summary> /// Use default setting /// </summary> public ViewBase() { Background = new DevAge.Drawing.VisualElements.BackgroundSolid(); Padding = DefaultPadding; ForeColor = DefaultForeColor; BackColor = DefaultBackColor; Border = DefaultBorder; TextAlignment = DefaultAlignment; ImageAlignment = DefaultAlignment; }
/// <summary> /// Use default setting /// </summary> protected ViewBase() { Background = new DevAge.Drawing.VisualElements.BackgroundSolid(); Padding = DefaultPadding; ForeColor = DefaultForeColor; BackColor = DefaultBackColor; Border = DefaultBorder; TextAlignment = DefaultAlignment; ImageAlignment = DefaultAlignment; }
public CheckboxBackColorAlternate(Color firstColor, Color secondColor) { FirstBackground = new DevAge.Drawing.VisualElements.BackgroundSolid(firstColor); SecondBackground = new DevAge.Drawing.VisualElements.BackgroundSolid(secondColor); }
public CheckBoxBackColorAlternate(Color firstColor, Color secondColor) { FirstBackground = new DevAge.Drawing.VisualElements.BackgroundSolid(firstColor); SecondBackground = new DevAge.Drawing.VisualElements.BackgroundSolid(secondColor); }
public CellColorFromValue(double lowestAdmissibleValue) { _lowestAdmissibleValue = lowestAdmissibleValue; correctValueBackground = new DevAge.Drawing.VisualElements.BackgroundSolid(Color.White); insufficientValueBackground = new DevAge.Drawing.VisualElements.BackgroundSolid(Color.Red); }
private void setCellBackColorAlternate(Color firstColor, Color secondColor) { FirstBackground = new DevAge.Drawing.VisualElements.BackgroundSolid(firstColor); SecondBackground = new DevAge.Drawing.VisualElements.BackgroundSolid(secondColor); }