diff --git a/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml b/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml index b78c1af31c..aa4cbff2ed 100644 --- a/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml +++ b/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml @@ -2931,6 +2931,12 @@ Gets or sets a value which will be set when double-clicking on the text field of date picker. + + + Gets or sets an for the popup displayed when the user open the calendar. + By default, this value is Left or Right, depending of the 'CurrentUICulture.TextInfo.IsRightToLeft' value. + + diff --git a/examples/Demo/Shared/Pages/DateTimes/Examples/DatePickerDefault.razor b/examples/Demo/Shared/Pages/DateTimes/Examples/DatePickerDefault.razor index 335d141a07..779cdc2a8a 100644 --- a/examples/Demo/Shared/Pages/DateTimes/Examples/DatePickerDefault.razor +++ b/examples/Demo/Shared/Pages/DateTimes/Examples/DatePickerDefault.razor @@ -12,7 +12,7 @@
- +

diff --git a/src/Core/Components/DateTime/FluentDatePicker.razor b/src/Core/Components/DateTime/FluentDatePicker.razor index 13f00552b6..154bd7c36c 100644 --- a/src/Core/Components/DateTime/FluentDatePicker.razor +++ b/src/Core/Components/DateTime/FluentDatePicker.razor @@ -27,7 +27,7 @@ + /// Gets or sets an for the popup displayed when the user open the calendar. + /// By default, this value is Left or Right, depending of the 'CurrentUICulture.TextInfo.IsRightToLeft' value. + ///

+ [Parameter] + public HorizontalPosition? PopupHorizontalPosition { get; set; } + public bool Opened { get; set; } = false; protected override string? FormatValueAsString(DateTime? value)