Skip to content

955746 - Customize PopupSize Support for Picker and Calendar #3277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 51 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
9731ad6
Merge pull request #3184 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Mar 26, 2025
e9d2e38
Merge pull request #3193 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Mar 27, 2025
35e98f5
Merge pull request #3196 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Mar 27, 2025
cdfc2f0
Merge pull request #3201 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Mar 28, 2025
b7b4bbb
Merge pull request #3204 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Mar 31, 2025
5a396c1
Merge pull request #3206 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 2, 2025
c034b7e
Merge pull request #3208 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 2, 2025
13114f3
Merge pull request #3213 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 4, 2025
e4d738c
Merge pull request #3216 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 7, 2025
6cbcf37
Merge pull request #3221 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 9, 2025
0b0eac0
Merge pull request #3227 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 14, 2025
5b54cb2
Merge pull request #3231 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 15, 2025
3e4811d
Merge pull request #3233 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 17, 2025
2f03351
Merge pull request #3237 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 21, 2025
dcd2b75
Merge pull request #3240 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 22, 2025
ad90a92
Merge pull request #3245 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 23, 2025
67cca14
Merge pull request #3247 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 23, 2025
5ee804f
Merge pull request #3249 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 25, 2025
7e9b410
Merge pull request #3251 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 25, 2025
ca28f4e
Merge pull request #3254 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 28, 2025
5364ccc
Merge pull request #3256 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 28, 2025
3337a53
Merge pull request #3258 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 29, 2025
fed6e53
Merge remote-tracking branch 'remotes/origin/hotfix/hotfix-v29.1.33'
DeepakRajSundar Apr 29, 2025
6736112
Merge pull request #3259 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild Apr 29, 2025
f52a735
Revamp the UG documentation of .NET MAUI SfComboBox
Hemalatha-SF4675 May 4, 2025
8f966e5
Revamp the UG documentation of .NET MAUI SfMaskedEntry
Hemalatha-SF4675 May 4, 2025
c0d07e3
Revamp the UG documentation of .NET MAUI Rating and SignaturePad
Hemalatha-SF4675 May 4, 2025
960eb3d
Revamp the UG documentation of .NET MAUI SfChip
Hemalatha-SF4675 May 4, 2025
f876afa
Revamp the UG documentation of .NET MAUI SfCarousel.
Hemalatha-SF4675 May 4, 2025
5de3e65
Revamp the UG documentation of .NET MAUI SfButton
Hemalatha-SF4675 May 4, 2025
74abaff
Revamp the UG documentation of .NET MAUI TextInputLayout
Hemalatha-SF4675 May 4, 2025
5fec3cf
Updated the images
Hemalatha-SF4675 May 5, 2025
2107f0f
update TimePicker.jpg
Hemalatha-SF4675 May 5, 2025
f6a7657
revert TimePicker.jpg image
Hemalatha-SF4675 May 5, 2025
14d2ad7
Merge pull request #3271 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild May 5, 2025
4dcd738
Merge pull request #3263 from syncfusion-content/MaskedEntry-UG-Revam…
Choza-rajan May 6, 2025
06de844
Merge pull request #3262 from syncfusion-content/Revamping-SfComboBox…
Choza-rajan May 6, 2025
57dbc7f
Merge pull request #3269 from syncfusion-content/Revamping-SfTextInpu…
Choza-rajan May 6, 2025
7785a5b
Merge pull request #3266 from syncfusion-content/Chip-UG-Revamping-ho…
Choza-rajan May 6, 2025
943cbe4
Merge pull request #3267 from syncfusion-content/Carousel-Revamping-h…
Choza-rajan May 6, 2025
c4c9e5f
Merge pull request #3265 from syncfusion-content/Revamping-Rating-Hot…
Choza-rajan May 6, 2025
733210f
Merge pull request #3268 from syncfusion-content/Revamping-button-hot…
Choza-rajan May 6, 2025
8ca84c5
Update Add-the-custom-view-for-button.md
PrithisIyyappan May 6, 2025
71666a8
Merge pull request #3272 from syncfusion-content/PrithisIyyappan-patch-2
Choza-rajan May 6, 2025
f9c13ed
Merge pull request #3273 from Syncfusion-Content/hotfix/hotfix-v29.1.33
SyncfusionBuild May 6, 2025
d590c75
IN-200360 Updated the test results details in the release notes MD fi…
DeepakRajSundar May 6, 2025
c06c565
Merge remote-tracking branch 'remotes/origin/hotfix/hotfix-v29.1.33'
DeepakRajSundar May 6, 2025
9633fa9
955746 - Customize PopupSize Support for Picker
AravindSubramaniyan May 7, 2025
7168721
955746 - Ug Documentation for the calendar control
AravindSubramaniyan May 7, 2025
34ab9c4
955746 - Made the xaml correction in the picker controls
AravindSubramaniyan May 8, 2025
dc53a9c
Merge branch 'development' of https://github.com/syncfusion-content/m…
AravindSubramaniyan May 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions MAUI/Calendar/calendar-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,27 @@ private void Button_Clicked(object sender, System.EventArgs e)
{% endhighlight %}

{% endtabs %}

### PopupSize

SfCalendar allows the display of the Popup at any desired size by setting the [PopupSize] property.

The default value of the `PopupSize` height is calculated based on the `SfCalendar.HeaderView.Height`, `SfCalendar.MonthView.HeaderView.height`, `SfCalendar.FooterView.Height`.

{% tabs %}

{% highlight xaml tabtitle="XAML" %}

<calendar:SfCalendar x:Name="calendar"
Mode="Dialog"
PopupSize="300,400" />

{% endhighlight %}

{% highlight c# tabtitle="C#" %}

this.calendar.PopupSize = new Size(300,400);

{% endhighlight %}

{% endtabs %}
30 changes: 29 additions & 1 deletion MAUI/DatePicker/date-picker-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,32 @@ private void Button_Clicked(object sender, System.EventArgs e)

![Relative dialog mode in .NET MAUI Date picker.](images/date-picker-mode/maui-date-picker-relative-dialog-mode1.png)

![Relative dialog mode in .NET MAUI Date picker.](images/date-picker-mode/maui-date-picker-relative-dialog-mode2.png)
![Relative dialog mode in .NET MAUI Date picker.](images/date-picker-mode/maui-date-picker-relative-dialog-mode2.png)

### PopupSize

SfDatePicker allows the display of the Popup at any desired size by setting the [PopupSize] property.

The default value of the `PopupSize` height is calculated based on the number of items available in the [ItemSource](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Picker.PickerColumn.html#Syncfusion_Maui_Picker_PickerColumn_ItemsSource) property and the default value of the `SfDatePicker.HeaderView.Height`, `SfDatePicker.ColumnHeaderView.Height` and `SfDatePicker.FooterView.Height`.

{% tabs %}

{% highlight xaml tabtitle="XAML" %}

<picker:SfdatePicker x:Name="datePicker"
Mode="Dialog"
PopupSize="300,400" />

{% endhighlight %}

{% highlight c# tabtitle="C#" %}

this.datePicker.PopupSize = new Size(300,400);

{% endhighlight %}

{% endtabs %}

N>
* SfDatePicker in the popup will not be rendered properly if the `PopupSize` property is less than the combined height of the `SfDatePicker.HeaderView.Height`, `SfDatePicker.ColumnHeaderView.Height` and `SfDatePicker.FooterView.Height`.
* If the `PopupSize` property is greater than the combined height of the `SfDatePicker.HeaderView.Height`, `SfDatePicker.ColumnHeaderView.Height` and `SfDatePicker.FooterView.Height`, the remaining height will be allocated to the datepicker container.
30 changes: 29 additions & 1 deletion MAUI/DateTimePicker/date-time-picker-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,32 @@ private void Button_Clicked(object sender, EventArgs e)

![Relative dialog mode in .NET MAUI Date Time picker.](images/date-time-picker-mode/maui-date-time-picker-relative-dialog-mode1.png)

![Relative dialog mode in .NET MAUI Date Time picker.](images/date-time-picker-mode/maui-date-time-picker-relative-dialog-mode2.png)
![Relative dialog mode in .NET MAUI Date Time picker.](images/date-time-picker-mode/maui-date-time-picker-relative-dialog-mode2.png)

### PopupSize

SfDateTimePicker allows the display of the Popup at any desired size by setting the [PopupSize] property.

The default value of the `PopupSize` height is calculated based on the number of items available in the [ItemSource](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Picker.PickerColumn.html#Syncfusion_Maui_Picker_PickerColumn_ItemsSource) property and the default value of the `SfDateTimePicker.HeaderView.Height`, `SfDateTimePicker.ColumnHeaderView.Height` and `SfDateTimePicker.FooterView.Height`.

{% tabs %}

{% highlight xaml tabtitle="XAML" %}

<picker:SfdatePicker x:Name="picker"
Mode="Dialog"
PopupSize="300,400" />

{% endhighlight %}

{% highlight c# tabtitle="C#" %}

this.picker.PopupSize = new Size(300,400);

{% endhighlight %}

{% endtabs %}

N>
* SfDateTimePicker in the popup will not be rendered properly if the `PopupSize` property is less than the combined height of the `SfDateTimePicker.HeaderView.Height`, `SfDateTimePicker.ColumnHeaderView.Height` and `SfDateTimePicker.FooterView.Height`.
* If the `PopupSize` property is greater than the combined height of the `SfDateTimePicker.HeaderView.Height`, `SfDateTimePicker.ColumnHeaderView.Height` and `SfDateTimePicker.FooterView.Height`, the remaining height will be allocated to the datetimepicker container.
59 changes: 58 additions & 1 deletion MAUI/Picker/picker-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,61 @@ private void Button_Clicked(object sender, System.EventArgs e)

![Relative dialog mode in .NET MAUI Picker.](images/picker-mode/maui-picker-relative-dialog-mode1.png)

![Relative dialog mode in .NET MAUI Picker.](images/picker-mode/maui-picker-relative-dialog-mode2.png)
![Relative dialog mode in .NET MAUI Picker.](images/picker-mode/maui-picker-relative-dialog-mode2.png)

### PopupSize

SfPicker allows the display of the Popup at any desired size by setting the [PopupSize] property.

The default value of the `PopupSize` height is calculated based on the number of items available in the [ItemSource](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Picker.PickerColumn.html#Syncfusion_Maui_Picker_PickerColumn_ItemsSource) property and the default value of the `SfPicker.HeaderView.Height`, `SfPicker.ColumnHeaderView.Height` and `SfPicker.FooterView.Height`.

{% tabs %}

{% highlight xaml tabtitle="XAML" %}

<Grid>
<picker:SfPicker
x:Name="picker"
Mode="Dialog"
RelativePosition="AlignToRightOf"
PopupSize="200,440">
<picker:SfPicker.HeaderView >
<picker:PickerHeaderView Height="40" Text="Select a color" />
</picker:SfPicker.HeaderView>
<picker:SfPicker.Columns>
<picker:PickerColumn HeaderText="Colors" ItemsSource="{Binding DataSource}"/>
</picker:SfPicker.Columns>
<picker:SfPicker.ColumnHeaderView >
<picker:PickerColumnHeaderView Height="40"/>
</picker:SfPicker.ColumnHeaderView>
<picker:SfPicker.FooterView>
<picker:PickerFooterView Height="40"/>
</picker:SfPicker.FooterView>
</picker:SfPicker>
<Button Text="Open Text"
x:Name="pickerButton"
Clicked="pickerButton_Clicked"
HorizontalOptions="Center"
VerticalOptions="Center"
HeightRequest="40"
WidthRequest="150">
</Button>
</Grid>

{% endhighlight %}

{% highlight c# tabtitle="C#" %}

private void pickerButton_Clicked(object sender, System.EventArgs e)
{
this.picker.IsOpen = true;
this.picker.PopupSize = new Size(200,440);
}

{% endhighlight %}

{% endtabs %}

N>
* SfPicker in the popup will not be rendered properly if the `PopupSize` property is less than the combined height of the `SfPicker.HeaderView.Height`, `SfPicker.ColumnHeaderView.Height`, `SfPicker.FooterView.Height` and Picker items.
* If the `PopupSize` property is greater than the combined height of the `SfPicker.HeaderView.Height`, `SfPicker.ColumnHeaderView.Height`, `SfPicker.FooterView.Height` and Picker items, the remaining height will be allocated to the picker container.
30 changes: 29 additions & 1 deletion MAUI/TimePicker/time-picker-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,32 @@ private void Button_Clicked(object sender, System.EventArgs e)

![Relative dialog mode in .NET MAUI Time picker.](images/time-picker-mode/maui-time-picker-relative-dialog-mode1.png)

![Relative dialog mode in .NET MAUI Time picker.](images/time-picker-mode/maui-time-picker-relative-dialog-mode2.png)
![Relative dialog mode in .NET MAUI Time picker.](images/time-picker-mode/maui-time-picker-relative-dialog-mode2.png)

### PopupSize

SfTimePicker allows the display of the Popup at any desired size by setting the [PopupSize] property.

The default value of the `PopupSize` height is calculated based on the number of items available in the [ItemSource](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Picker.PickerColumn.html#Syncfusion_Maui_Picker_PickerColumn_ItemsSource) property and the default value of the `SfTimePicker.HeaderView.Height`, `SfTimePicker.ColumnHeaderView.Height` and `SfTimePicker.FooterView.Height`.

{% tabs %}

{% highlight xaml tabtitle="XAML" %}

<picker:SfdatePicker x:Name="timePicker"
Mode="Dialog"
PopupSize="300,400" />

{% endhighlight %}

{% highlight c# tabtitle="C#" %}

this.timePicker.PopupSize = new Size(300,400);

{% endhighlight %}

{% endtabs %}

N>
* SfTimePicker in the popup will not be rendered properly if the `PopupSize` property is less than the combined height of the `SfTimePicker.HeaderView.Height`, `SfTimePicker.ColumnHeaderView.Height` and `SfTimePicker.FooterView.Height`.
* If the `PopupSize` property is greater than the combined height of the `SfTimePicker.HeaderView.Height`, `SfTimePicker.ColumnHeaderView.Height` and `SfTimePicker.FooterView.Height`, the remaining height will be allocated to the datepicker container.