Attempting toplay such a trick would be more trouble than it???s worth anyway, so it???s best to use either the HTMLdeclarative form or a localized commands array at run time.Also, be aware that commands is a rare example of a write-only property: you can set it, but you cannotretrieve the array from an app bar.