Use a ContentTemplate and determine whether the control contains content.