public PaletteElementColorInheritOverride ( IPaletteElementColor primary, IPaletteElementColor backup ) : System | ||
primary | IPaletteElementColor | First choice inheritence. |
backup | IPaletteElementColor | Backup inheritence. |
return | System |
public PaletteElementColorInheritOverride(IPaletteElementColor primary,
IPaletteElementColor backup)
{
Debug.Assert(primary != null);
Debug.Assert(backup != null);
// Store incoming alternatives
_primary = primary;
_backup = backup;
// Default other state
_apply = true;
_override = true;
_state = PaletteState.Normal;
}