Skip to main content

DateEdit Properties

An editor that displays a date in a specific format. Users can select a date within a cross-platform customizable or platform-specific native date picker.
Name Description
ActualAppearance Gets the common appearance settings that are applied to the current DateEdit.
AllowAnimation Gets or sets whether the editor’s floating label moves with a smooth animation effect. This is a bindable property. Inherited from EditBase.
AnchorX Gets or sets the X component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement.
AnchorY Gets or sets the Y component of the center point for any transform operation, relative to the bounds of the element. This is a bindable property. Inherited from VisualElement.
AutofillContentType Gets or sets the hint that helps an autofill service determine how to populate the editor with user data. This is a bindable property.
AutomationId Gets or sets a value that allows the automation framework to find and interact with this element. Inherited from Element.
Background Gets or sets the Brush which will be used to fill the background of an element. This is a bindable property. Inherited from VisualElement.
BackgroundColor Gets or sets the Color which will fill the background of an element. This is a bindable property. Inherited from VisualElement.
Batched Gets a value that indicates there are batched changes done for this element. Inherited from VisualElement.
Behaviors Gets the list of Behavior objects associated to this element. This is a read-only bindable property. Inherited from VisualElement.
BindingContext

Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property.

Inherited from BindableObject.
BorderColor Gets or sets the color of the editor box borders. This is a bindable property. Inherited from EditBase.
BorderThickness Gets or sets the thickness of the editor box borders. This is a bindable property. Inherited from EditBase.
BottomTextFontAttributes Gets or sets whether the editor’s help and error text is bold or italic. This is a bindable property. Inherited from EditBase.
BottomTextFontFamily Gets or sets the font family name for the editor’s help and error text. This is a bindable property. Inherited from EditBase.
BottomTextFontSize Gets or sets the font size of the editor’s help and error text. This is a bindable property. Inherited from EditBase.
BottomTextTopIndent Gets or sets the distance between the editor’s bottom border and help/error text. This is a bindable property. Inherited from EditBase.
Bounds Gets the bounds of the element in device-independent units. Inherited from VisualElement.
BoxHeight Gets or sets the edit box height. This is a bindable property. Inherited from EditBase.
BoxMargin Gets the margin of the edit box inside the editor. This is a bindable property. Inherited from EditBase.
BoxMinHeight Gets or sets the minimum edit box height. This is a bindable property. Inherited from EditBase.
BoxMinWidth Gets or sets the minimum edit box width. This is a bindable property. Inherited from EditBase.
BoxMode Gets or sets whether a stroke is displayed around the entire editor box or for the bottom edge only. This is a bindable property. Inherited from EditBase.
BoxPadding Gets or sets the amount of space between borders of the edit box and its content. This is a bindable property. Inherited from EditBase.
CharacterCasing Gets or sets whether to automatically convert characters to lowercase or uppercase when a user enters text in the editor. This is a bindable property. Inherited from EditBase.
class Gets or sets the style classes for the element. Inherited from NavigableElement.
ClassId Gets or sets a value used to identify a collection of semantically similar elements. Inherited from Element.
ClearIcon Gets or sets the clear icon image. This is a bindable property. Inherited from EditBase.
ClearIconColor Gets or sets the color of the clear icon. This is a bindable property. Inherited from EditBase.
ClearIconCommand Gets or sets the command executed when a user taps the clear icon. This is a bindable property. Inherited from EditBase.
ClearIconCommandParameter Gets or sets the parameter passed to the ClearIconCommand. This is a bindable property. Inherited from EditBase.
ClearIconVisibility Gets or sets whether the clear icon is displayed. This is a bindable property. Inherited from EditBase.
Clip Specifies the clipping region for an element. This is a bindable property. Inherited from VisualElement.
CornerMode Gets or sets whether edit box corners are rounded or cut. This is a bindable property. Inherited from EditBase.
CornerRadius Gets or sets the corner radius of the edit box. This is a bindable property. Inherited from EditBase.
CursorColor Gets or sets the editor’s cursor color. This is a bindable property. Inherited from EditBase.
Date Gets or sets the editor’s value. This is a bindable property.
DateChangedCommand Gets or sets a command executed when the Date property value changes. This is a bindable property.
DateChangedCommandParameter Gets or sets a parameter passed to the DateChangedCommand. This is a bindable property.
DateIcon Gets or sets an icon displayed at the editor’s far edge. This is a bindable property.
DateIconColor Gets or sets the date icon’s color. This is a bindable property.
DateIconCommand Gets or sets a command executed when a user taps the date icon. This is a bindable property.
DateIconCommandParameter Gets or sets a parameter passed to the DateIconCommand. This is a bindable property.
DesiredSize Gets the size that this element computed during the measure pass of the layout process. Inherited from VisualElement.
DisabledBackgroundColor Gets or sets the edit box background in disabled state. This is a bindable property. Inherited from EditBase.
DisabledBorderColor Gets or sets the color of the editor box borders in a disabled state. This is a bindable property. Inherited from EditBase.
DisabledBorderThickness Gets or sets the thickness of the editor box borders in a disabled state. This is a bindable property. Inherited from EditBase.
DisabledHelpTextColor Gets or sets the color of the help text shown below the disabled editor. This is a bindable property. Inherited from EditBase.
DisabledIconColor Gets or sets the color for icons of the editor in a disabled state. This is a bindable property. Inherited from EditBase.
DisabledLabelColor Gets or sets the text color for the label of the editor in a disabled state. This is a bindable property. Inherited from EditBase.
DisabledTextColor Gets or sets the color of text entered into the editor in a disabled state. This is a bindable property. Inherited from EditBase.
DisableLayout Gets a value that indicates that layout for this element is disabled. Inherited from VisualElement.
Dispatcher

Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window’s/app’s).

Inherited from BindableObject.
DisplayFormat Gets or sets the pattern used to format the DateEdit‘s value. This is a bindable property.
DisplayText Gets a string value that specifies the formatted text displayed in the editor. This is a bindable property. Inherited from EditBase.
EffectControlProvider For internal use by .NET MAUI. Inherited from Element.
Effects Gets or sets the styles and properties that will be applied to the element during runtime. Inherited from Element.
EndIcon Gets or sets the trailing icon image. This is a bindable property. Inherited from EditBase.
EndIconColor Gets or sets the color of a custom icon displayed at the editor’s far edge. This is a bindable property. Inherited from EditBase.
EndIconCommand Gets or sets the command executed when a user taps the trailing icon. This is a bindable property. Inherited from EditBase.
EndIconCommandParameter Gets or sets the parameter passed to the EndIconCommand. This is a bindable property. Inherited from EditBase.
ErrorColor Gets or sets the color of the edit box’s borders, label, error icon, and error message if there is an input error. This is a bindable property. Inherited from EditBase.
ErrorIcon Gets or sets the error icon image. This is a bindable property. Inherited from EditBase.
ErrorIconColor Gets or sets the color of an icon displayed when HasError is set to true. This is a bindable property. Inherited from EditBase.
ErrorIconCommand Gets or sets the command executed when a user taps the error icon. This is a bindable property. Inherited from EditBase.
ErrorIconCommandParameter Gets or sets the parameter passed to the ErrorIconCommand. This is a bindable property. Inherited from EditBase.
ErrorText Gets or sets the text message that appears below the editor in an error state. This is a bindable property. Inherited from EditBase.
FlowDirection Gets or sets the layout flow direction. This is a bindable property. Inherited from VisualElement.
FocusedBorderColor Gets or sets the color of the editor box borders in a focused state. This is a bindable property. Inherited from EditBase.
FocusedBorderThickness Gets or sets the thickness of the editor box borders in a focused state. This is a bindable property. Inherited from EditBase.
FocusedLabelColor Gets or sets the text color for the label of the editor in a focused state. This is a bindable property. Inherited from EditBase.
FontAutoScalingEnabled Gets or sets whether text is scaled according to the operating system’s text scale setting. This is a bindable property. Inherited from EditBase.
Frame Gets or sets the frame this element resides in on screen. Inherited from VisualElement.
GestureRecognizers The collection of gesture recognizers associated with this view. Inherited from View.
Handler Gets or sets the IViewHandler associated to this element. Inherited from VisualElement.
HasError Gets or sets whether the editor has an error. This is a bindable property. Inherited from EditBase.
Height Gets the current rendered height of this element. This is a read-only bindable property. Inherited from VisualElement.
HeightRequest Gets or sets the desired height override of this element. This is a bindable property. Inherited from VisualElement.
HelpText Gets or sets the input prompt text displayed below the edit box. This is a bindable property. Inherited from EditBase.
HelpTextColor Gets or sets the color of the help text shown below the edit box. This is a bindable property. Inherited from EditBase.
HorizontalOptions Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View.
IconColor Gets or sets the color for editor icons. This is a bindable property. Inherited from EditBase.
IconIndent Gets or sets the distance between an icon and input text (affix). This is a bindable property. Inherited from EditBase.
IconSpacing Gets or sets the distance between icons. This is a bindable property. Inherited from EditBase.
IconVerticalAlignment Gets or sets the vertical alignment of icons. This is a bindable property. Inherited from EditBase.
Id Gets a value that can be used to uniquely identify an element throughout the run of your application. Inherited from Element.
InputTransparent Gets or sets a value indicating whether this element responds to hit testing during user interaction. This is a bindable property. Inherited from VisualElement.
IsDateIconVisible Gets or sets whether the date icon is visible. This is a bindable property.
IsEnabled Gets or sets a value indicating whether this element is enabled in the user interface. This is a bindable property. Inherited from VisualElement.
IsEndIconVisible Gets or sets whether the trailing icon is visible. This is a bindable property. Inherited from EditBase.
IsErrorIconVisible Gets or sets whether the error icon is visible. This is a bindable property. Inherited from EditBase.
IsFocused Gets a value indicating whether this element is focused currently. This is a bindable property. Inherited from VisualElement.
IsLabelFloating Gets or sets whether the label changes its position depending on the editor state, or it is pinned to the top of the editor box. This is a bindable property. Inherited from EditBase.
IsPickerShown Gets or sets whether the date picker is displayed. This is a bindable property.
IsPlatformEnabled Gets or sets a value that indicates whether this elements’s platform equivalent element is enabled. Inherited from VisualElement.
IsReadOnly Gets or sets whether users can change a value in the editor. This is a bindable property. Inherited from EditBase.
IsStartIconVisible Gets or sets whether the leading icon is visible. This is a bindable property. Inherited from EditBase.
IsVisible Gets or sets a value that determines whether this element will be visible on screen and take up space in layouts. This is a bindable property. Inherited from VisualElement.
LabelColor Gets or sets the text color for the label of the editor in an unfocused state. This is a bindable property. Inherited from EditBase.
LabelFontSize Gets or sets the font size of the editor’s label text. This is a bindable property. Inherited from EditBase.
LabelText Gets or sets the editor’s label text. This is a bindable property. Inherited from EditBase.
LogicalChildren For internal use by the Microsoft.Maui.Controls platform. Inherited from Element.
Margin Gets or set the margin for the view. Inherited from View.
MaxDate Gets or sets the maximum date that users can assign to the editor. This is a bindable property.
MinDate Gets or sets the minimum date that users can assign to the editor. This is a bindable property.
MinimumHeightRequest Gets or sets the minimum height the element will request during layout. This is a bindable property. Inherited from VisualElement.
MinimumWidthRequest Gets or sets the minimum width the element will request during layout. This is a bindable property. Inherited from VisualElement.
Navigation Gets the object responsible for handling stack-based navigation. Inherited from NavigableElement.
NavigationProxy Gets the cast of Navigation to a NavigationProxy. Inherited from NavigableElement.
Opacity Gets or sets the opacity value applied to the element when it is rendered. The range of this value is 0 to 1; values outside this range will be set to the nearest valid value. This is a bindable property. Inherited from VisualElement.
Parent Gets or sets the parent Element of this element. Inherited from Element.
PickerActiveViewType Gets or sets whether the calendar displays the day, month, or year view. This is a bindable property.
PickerBackgroundColor Gets or sets the background color of the default picker. This is a bindable property.
PickerButtonAreaTemplate Gets or sets the template applied to the button area of the DateEdit. This is a bindable property.
PickerCellMinSize Gets or sets the minimum size of cells in the default picker. This is a bindable property.
PickerClearButtonVisible Gets or sets whether the date picker displays the CLEAR button. This is a bindable property.
PickerDayCellAppearance Gets or sets appearance settings applied to days in the default picker. This is a bindable property.
PickerDayCellTemplate Gets or sets a data template used to render days in the default picker. This is a bindable property.
PickerDayOfWeekCellAppearance Gets or sets appearance settings applied to days of the week in the default picker. This is a bindable property.
PickerDayOfWeekCellTemplate Gets or sets a data template used to render days of the week in the default picker. This is a bindable property.
PickerDisplayDate Gets or sets a date that allows you to specify the month, year, or decade displayed in the current date picker view. This is a bindable property.
PickerFirstDayOfWeek Gets or sets the first day of the week in the default picker. This is a bindable property.
PickerHeaderAppearance Gets or sets appearance settings applied to the default picker’s header. This is a bindable property.
PickerHorizontalCellSpacing Gets or sets the horizontal spacing between cells in the default picker. This is a bindable property.
PickerMonthCellAppearance Gets or sets appearance settings applied to months in the default picker. This is a bindable property.
PickerMonthCellTemplate Gets or sets a data template used to render months in the default picker. This is a bindable property.
PickerPadding Gets or sets the padding of the default picker. This is a bindable property.
PickerShowTrailingDays Gets or sets whether days related to the previous and next months are displayed in the default picker. This is a bindable property.
PickerVerticalCellSpacing Gets or sets the vertical spacing between cells in the default picker. This is a bindable property.
PickerYearCellAppearance Gets or sets appearance settings applied to years in the default picker. This is a bindable property.
PickerYearCellTemplate Gets or sets a data template used to render years in the default picker. This is a bindable property.
PlaceholderColor Gets or sets the placeholder color. This is a bindable property. Inherited from EditBase.
PlaceholderText Gets or sets the placeholder text. This is a bindable property. Inherited from EditBase.
RealParent For internal use by .NET MAUI. Inherited from Element.
ReserveBottomTextLine Gets or sets whether the line with the error text below the edit box is reserved. This is a bindable property. Inherited from EditBase.
Resources Gets or sets the local resource dictionary. Inherited from VisualElement.
ReturnCommand Gets or sets the command that is executed when a user taps the ‘Return’ button. This is a bindable property. Inherited from EditBase.
ReturnCommandParameter Gets or sets the parameter passed to the ReturnCommand. This is a bindable property. Inherited from EditBase.
ReturnType Gets or sets the appearance of the ‘Return’ button on the operating system’s on-screen keyboard. This is a bindable property. Inherited from EditBase.
Rotation Gets or sets the rotation (in degrees) about the Z-axis (affine rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
RotationX Gets or sets the rotation (in degrees) about the X-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
RotationY Gets or sets the rotation (in degrees) about the Y-axis (perspective rotation) when the element is rendered. This is a bindable property. Inherited from VisualElement.
Scale Gets or sets the scale factor applied to the element. This is a bindable property. Inherited from VisualElement.
ScaleX Gets or sets a scale value to apply to the X direction. This is a bindable property. Inherited from VisualElement.
ScaleY Gets or sets a scale value to apply to the Y direction. This is a bindable property. Inherited from VisualElement.
StartIcon Gets or sets the leading icon image. This is a bindable property. Inherited from EditBase.
StartIconColor Gets or sets the color of a custom icon displayed at the editor’s near edge. This is a bindable property. Inherited from EditBase.
StartIconCommand Gets or sets the command executed when a user taps the leading icon. This is a bindable property. Inherited from EditBase.
StartIconCommandParameter Gets or sets the parameter passed to the StartIconCommand. This is a bindable property. Inherited from EditBase.
Style Gets or sets the unique Style for this element. Inherited from NavigableElement.
StyleClass Gets or sets the style classes for the element. Inherited from NavigableElement.
StyleId Gets or sets a user defined value to uniquely identify the element. Inherited from Element.
TextColor Gets or sets the color of text entered into the editor. This is a bindable property. Inherited from EditBase.
TextFontAttributes Gets or sets the font style that the editor uses for input text, label and placeholder. This is a bindable property. Inherited from EditBase.
TextFontFamily Gets or sets the font family that the editor uses for input text, label and placeholder. This is a bindable property. Inherited from EditBase.
TextFontSize Gets or sets the font size of text entered into the editor. This is a bindable property. Inherited from EditBase.
TextHorizontalAlignment Gets or sets the horizontal alignment of text entered in the editor. This is a bindable property. Inherited from EditBase.
TextVerticalAlignment Gets or sets the vertical text alignment in the editor. This is a bindable property. Inherited from EditBase.
TranslationX Gets or sets the X translation delta of the element. This is a bindable property. Inherited from VisualElement.
TranslationY Gets or sets the Y translation delta of the element. This is a bindable property. Inherited from VisualElement.
Triggers Gets the list of TriggerBase objects associated to this element. This is a read-only bindable property. Inherited from VisualElement.
UseNativePicker Gets or sets whether to use a platform-specific (native) or cross-platform (default) date picker. This is a bindable property.
VerticalOptions Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property. Inherited from View.
Visual Gets or sets a IVisual implementation that overrides the visual appearance of an element. This is a bindable property. Inherited from VisualElement.
Width Gets the current width of this element. This is a read-only bindable property. Inherited from VisualElement.
WidthRequest Gets or sets the desired width override of this element. This is a bindable property. Inherited from VisualElement.
X Gets the current X position of this element. This is a read-only bindable property. Inherited from VisualElement.
Y Gets the current Y position of this element. This is a read-only bindable property. Inherited from VisualElement.
See Also