As said, you cannot change the ShowMandatory property of a standard field. For custom fields, you can set this property in your extension (AL file) directly (no designer).
For existing fields, if you want to have a field mandatory in your extension you can use something like TESTFIELD(YourField) on your page or table object.