What's the purpose of all this code? Why do you need to set these properties? Why do you set the property and then potentially override it yet again in the next line?