in CA,in the primarys your ballot will only list candidates from the party you are registered in.  so Trump would not be on your ballot if you are a registered democrat.  In the Nov. final election all parties are on the ballot.