Sorry, you said "Programatically" so I took it to mean at design time.