Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / DateTimePicker Class / DropDownButtonContentTemplate Property


In This Topic
    DropDownButtonContentTemplate Property (DateTimePicker)
    In This Topic
    Get 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 DateTimePicker
    Dim value As DataTemplate
     
    instance.DropDownButtonContentTemplate = value
     
    value = instance.DropDownButtonContentTemplate
    public DataTemplate DropDownButtonContentTemplate {get; set;}
    Remarks
    This is the property that needs to be modified in order to set another icon or use specific Content for the DropDownButton that is used to open the Popup containing the Calendar & the TimePicker.
    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