menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DateTimePickerHeaderView - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DateTimePickerHeaderView

    Represents a class which is used to customize all the properties of header view of the SfDateTimePicker.

    Inheritance
    System.Object
    DateTimePickerHeaderView
    Namespace: Syncfusion.Maui.Picker
    Assembly: Syncfusion.Maui.Picker.dll
    Syntax
    public class DateTimePickerHeaderView : Element, IThemeElement

    Constructors

    DateTimePickerHeaderView()

    Initializes a new instance of the DateTimePickerHeaderView class.

    Declaration
    public DateTimePickerHeaderView()

    Fields

    BackgroundProperty

    Identifies the Background dependency property.

    Declaration
    public static readonly BindableProperty BackgroundProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for Background dependency property.

    DateFormatProperty

    Identifies the DateFormat dependency property.

    Declaration
    public static readonly BindableProperty DateFormatProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DateFormat dependency property.

    DividerColorProperty

    Identifies the DividerColor dependency property.

    Declaration
    public static readonly BindableProperty DividerColorProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DividerColor dependency property.

    HeightProperty

    Identifies the Height dependency property.

    Declaration
    public static readonly BindableProperty HeightProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for Height dependency property.

    SelectionTextStyleProperty

    Identifies the SelectionTextStyle dependency property.

    Declaration
    public static readonly BindableProperty SelectionTextStyleProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for SelectionTextStyle dependency property.

    TextStyleProperty

    Identifies the TextStyle dependency property.

    Declaration
    public static readonly BindableProperty TextStyleProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for TextStyle dependency property.

    TimeFormatProperty

    Identifies the TimeFormat dependency property.

    Declaration
    public static readonly BindableProperty TimeFormatProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for TimeFormat dependency property.

    Properties

    Background

    Gets or sets the background of the header view in SfDateTimePicker.

    Declaration
    public Brush Background { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    DateFormat

    Gets or sets the value to specify the date format of header view on SfDateTimePicker.

    Declaration
    public string DateFormat { get; set; }
    Property Value
    Type
    System.String

    DividerColor

    Gets or sets the color of the header separator line in SfDateTimePicker.

    Declaration
    public Color DividerColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    Height

    Gets or sets the value to specify the height of header view on SfDateTimePicker.

    Declaration
    public double Height { get; set; }
    Property Value
    Type
    System.Double

    SelectionTextStyle

    Gets or sets the selection text style of the header text in SfDateTimePicker.

    Declaration
    public PickerTextStyle SelectionTextStyle { get; set; }
    Property Value
    Type
    PickerTextStyle

    TextStyle

    Gets or sets the text style of the header text in SfDateTimePicker.

    Declaration
    public PickerTextStyle TextStyle { get; set; }
    Property Value
    Type
    PickerTextStyle

    TimeFormat

    Gets or sets the value to specify the time format of header view on SfDateTimePicker.

    Declaration
    public string TimeFormat { get; set; }
    Property Value
    Type
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved