You can set component properties at design time or at runtime:
Setting Properties at Design Time
Setting Properties at Runtime