Configuring Content

Content and DropDownContent can be added to the SfDropDownButton control as follows:


Set the Content property to display a content with both dropdown open and close.

<input:SfDropDownButton x:Name="dropDownButton" Content="5/24/2016"/>
dropDownButton.Content =" 5 / 24 / 2016";
dropDownButton.Content =" 5 / 24 / 2016"

Set the DropDownContent property to display a content when the dropdown is open.

<input:SfDropDownButton Content="5/24/2016">


<input:SfCalendar x:Name="calendar"/>


SfCalendar calendar = new SfCalendar();

dropDownButton.DropDownContent = calendar;
Dim calendar As New SfCalendar()

dropDownButton.DropDownContent = calendar