Content
There are three ways to customize the content of the RadDock controls
- Create ContentTemplate - in design mode you can add controls to the ContentTemplate property and RadDock
will automatically display them in run time. In addition, you could create a class which implements the
ITemplate interface and then set its instance to the ContentTemplate property from the code-behind.
- Add controls to the ContentContainer - this is the container control for the ContentTemplate. Instead
of creating a class which implements ITemplate you could directly add controls to the ContentContainer.Controls
collection. This is slightly easier to implement, but you cannot easily reuse the template in other controls.
- Set the Text property - if the RadDock control should display only plain text, you could set this property,
instead of adding controls to the ContentTemplate or the ContentContainer.