The content panel of the Expander control is initially an empty area. However, you can add grids, text, images, and arbitrary controls in this content area. To simply add text to the content area of the Expander control, use the Content property or add a TextBox element to the content area as shown in the image below.
However, there may be times where you want to add other elements, such as check boxes, grids or panels, to the content area. In this case, you can add the elements of your choice to the Expander control. For example, in the following example, we are adding a check box to the content area of the Expander control as shown in the image below.
The following code can be used to add a check box to the content area of the Expander control: