Xceed Toolkit for Maui v2.0 Documentation
DropDownButtonContentTemplate Property (TimePicker)
Example 


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace > TimePicker Class : DropDownButtonContentTemplate Property
Gets or sets the DataTemplate that will be used to define the DropDownButton's Content
Syntax
'Declaration
 
Public Property DropDownButtonContentTemplate As DataTemplate
'Usage
 
Dim instance As TimePicker
Dim value As DataTemplate
 
instance.DropDownButtonContentTemplate = value
 
value = instance.DropDownButtonContentTemplate
public DataTemplate DropDownButtonContentTemplate {get; set;}
Example
<xctk:TimePicker.DropDownButtonContentTemplate>
  <DataTemplate>
    <Grid>
      <Polygon Points="0,0 13,0 7,8, 0,0"
               Stroke="Blue"
               StrokeThickness="2"
               Fill="Blue"
               VerticalOptions="Center"
               HorizontalOptions="Center"/>
    </Grid>
  </DataTemplate>
</xctk:TimePicker.DropDownButtonContentTemplate>
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TimePicker Class
TimePicker Members