This example demonstrates how to set configuration properties when instantiating a MenuItem instance.