preferredSize

The Preferred Size property specifies the unchangeable size that the object should have at runtime. This properties blocks the container resizing, i.e., the user cannot change the height and width parameters at runtime. It is possible to make an object partially resizable by specifying only one dimension in the PreferredSize property. This dimension remains invariable, whereas the other can be changed at runtime.

The size properties applied to container children (e.g., table or green columns and rows) can influence the container resize of the container and restrict it.

The size properties have two sub-properties – Height and Width, which specify the container dimensions in pixels.