Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
b6bcea0
Moved internal changes to public
MuniappanSubramanian Apr 25, 2025
662a08b
Merge branch 'main' of https://github.com/syncfusion/maui-toolkit int…
MuniappanSubramanian Apr 25, 2025
460485c
Resolved Chart SB sample issues.
DhanarajRajendran Apr 25, 2025
ac2f5a3
Resolved the chart SB sample issues.
DhanarajRajendran Apr 25, 2025
5106e9a
Updated the control gallery demo list with new/updated tag
naveenkumar-sanjeevirayan Apr 25, 2025
0718c0a
Merge branch 'internal_public' of https://github.com/syncfusion/maui-…
naveenkumar-sanjeevirayan Apr 25, 2025
43f4068
Included the chart issue fixes missed from dev.
DhanarajRajendran Apr 25, 2025
fce44dc
Merge branch 'internal_public' of https://github.com/syncfusion/maui-…
DhanarajRajendran Apr 25, 2025
082ad8a
Added Numeric Entry Changes
MohamedHasan3644 Apr 25, 2025
870bc3e
Segment control changes added
MohamedHasan3644 Apr 25, 2025
f183070
Updated the review suggestions.
DhanarajRajendran Apr 25, 2025
9a762e9
Merge branch 'internal_public' of https://github.com/syncfusion/maui-…
DhanarajRajendran Apr 25, 2025
6462776
Updated alignment changes.
DhanarajRajendran Apr 25, 2025
690da47
TextInputLayout changes added
MohamedHasan3644 Apr 25, 2025
02a0133
Updated the review suggestions.
DhanarajRajendran Apr 25, 2025
0176192
Merge branch 'internal_public' of https://github.com/syncfusion/maui-…
DhanarajRajendran Apr 25, 2025
42ea6b0
Merge branch 'internal_public' of https://github.com/syncfusion/maui-…
MuniappanSubramanian Apr 28, 2025
5866320
Resolved memory leak in OTP input and Tab view
naveenkumar-sanjeevirayan Apr 29, 2025
c9e78f6
Moved navigation drawer changes
naveenkumar-sanjeevirayan May 16, 2025
7b45778
Merge branch 'internal_public' of https://github.com/syncfusion/maui-…
MuniappanSubramanian May 19, 2025
d3c77a6
Release 1.0.5 changes committed
MuniappanSubramanian May 19, 2025
420a69e
Merge branch 'main' of https://github.com/syncfusion/maui-toolkit int…
naveenkumar-sanjeevirayan May 19, 2025
ed8b478
Updated the tooltip background fix in the open source.
DhanarajRajendran May 19, 2025
b01a0c3
Reverted PullToRefresh changes.
RasikaPalanisamy May 19, 2025
e54707d
Merge branch 'internal_public' of https://github.com/syncfusion/maui-…
RasikaPalanisamy May 19, 2025
3f4ac45
Reverted PullTorefresh changes.
RasikaPalanisamy May 19, 2025
e75189e
added the summary for update tooltip appearance method.
DhanarajRajendran May 19, 2025
8374bc8
Merge branch 'internal_public' of https://github.com/syncfusion/maui-…
DhanarajRajendran May 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions maui/samples/Gallery/ControlList.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@
<Assembly Name="Cards" />
<Assembly Name="Popup"/>
<Assembly Name="OtpInput" />
<Assembly Name="ProgressBar" />
<Assembly Name="Picker" />
</Assemblies>
</SampleBrowser>
18 changes: 18 additions & 0 deletions maui/samples/Gallery/Converters/StringToVisibilityConverter .cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System.Globalization;

namespace Syncfusion.Maui.ControlsGallery.Converters
{
public class StringToVisibilityConverter : IValueConverter
{
public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
{
return !string.IsNullOrEmpty(value as string);
}

public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
{
return null;
}

}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added maui/samples/Gallery/Resources/Images/picker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions maui/samples/Gallery/SampleList/PickerSamplesList.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8" ?>
<SyncfusionControls>
<ControlCategory Name="Picker">

<Control Title="Picker"
Image="picker.png"
ControlName="SfPicker"
Description="A versatile UI element designed for making selections from a set of options.">
<Sample Title="Getting Started" SampleName="GettingStarted"/>
<Sample Title="Flight booking" SampleName="FlightBooking"/>
</Control>

<Control Title="Date Picker"
Image="datepicker.png"
ControlName="SfDatePicker"
Description="A user interface element for selecting specific dates.">
<Sample Title="Getting Started" SampleName="GettingStarted"/>
<Sample Title="To-Do" SampleName="Customization"/>
</Control>

<Control Title="Time Picker"
Image="timepicker.png"
ControlName="SfTimePicker"
Description="An interface for choosing specific times of day.">
<Sample Title="Getting Started" SampleName="GettingStarted"/>
<Sample Title="Alarm" SampleName="Customization"/>
</Control>

<Control Title="Date Time Picker"
Image="datetimepicker.png"
ControlName="SfDateTimePicker"
Description="A combined interface to select dates and times.">
<Sample Title="Getting Started" SampleName="GettingStarted"/>
</Control>

</ControlCategory>
</SyncfusionControls>
14 changes: 14 additions & 0 deletions maui/samples/Gallery/SampleList/ProgressBarSamplesList.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<SyncfusionControls>
<ControlCategory Name="Notification">

<Control Title="Linear Progress Bar" ControlName="SfLinearProgressBar" Image="linearprogressbar.png" Description="Indicates the progress of a task along a line.">
<Sample SampleName="LinearProgressBar" Title="Features"/>
</Control>

<Control Title="Circular Progress Bar" ControlName="SfCircularProgressBar" Image="circularprogressbar.png" Description="Indicates the progress of a task along a circle.">
<Sample SampleName="CircularProgressBar" Title="Features"/>
</Control>

</ControlCategory>
</SyncfusionControls>
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Text="BackgroundImage Aspect "
<Label Text="Background Image Aspect "
FontFamily="Roboto-Regular"
HorizontalTextAlignment="Start"
Grid.Column="0"
Expand All @@ -476,6 +476,7 @@
FontFamily="Roboto-Regular"
FontSize="14"
WidthRequest="120"
IsEnabled="{Binding EnableAspectList}"
ItemsSource="{Binding AspectList}"
SelectedIndex="{Binding AspectSelectedIndex}"/>
</Grid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Text="BackgroundImage Aspect"
<Label Text="Background Image Aspect"
FontFamily="Roboto-Medium"
HorizontalTextAlignment="Start"
Grid.Column="0"
Expand All @@ -442,6 +442,7 @@
WidthRequest="120"
HorizontalOptions="End"
FontSize="15"
IsEnabled="{Binding EnableAspectList}"
ItemsSource="{Binding AspectList}"
SelectedIndex="{Binding AspectSelectedIndex}"/>
</Grid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ public partial class ViewModel : INotifyPropertyChanged
/// Selected Index of BackgroundImageAspect.
/// </summary>
private int _aspectSelectedIndex = 0;

/// <summary>
/// Represents whether the AspectList feature is enabled.
/// </summary>
private bool _enableAspectList = false;

#endregion

#region Property
Expand Down Expand Up @@ -314,10 +320,12 @@ public bool CanShowBackgroundImage
if (value)
{
BackgroundImage = "april.png";
EnableAspectList = true;
}
else
{
BackgroundImage = null;
EnableAspectList = false;
}
OnPropertyChanged("CanShowBackgroundImage");
OnPropertyChanged("BackgroundImage");
Expand Down Expand Up @@ -414,6 +422,15 @@ public int TextTransformSelectedIndex
}
}

public bool EnableAspectList
{
get { return _enableAspectList; }
set
{
_enableAspectList = value;
OnPropertyChanged("EnableAspectList");
}
}

#endregion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class AppearanceCustomizationBehavior : Behavior<SampleView>
/// <summary>
/// The combo box that allows users to choose to whether to select date or a range.
/// </summary>
Picker? _comboBox;
Microsoft.Maui.Controls.Picker? _comboBox;

/// <summary>
/// Check the application theme is light or dark.
Expand All @@ -35,7 +35,7 @@ protected override void OnAttachedTo(SampleView bindable)
_calendar.SelectionBackground = _isLightTheme ? Color.FromRgba("#6750A4").WithAlpha(0.5f) : Color.FromRgba("#D0BCFF").WithAlpha(0.5f);
_calendar.TodayHighlightBrush = _isLightTheme ? Color.FromRgba("#6750A4") : Color.FromRgba("#D0BCFF");
_calendar.SelectionShape = CalendarSelectionShape.Circle;
_comboBox = bindable.Content.FindByName<Picker>("comboBox");
_comboBox = bindable.Content.FindByName<Microsoft.Maui.Controls.Picker>("comboBox");
_comboBox.ItemsSource = new List<string>() { "Circle", "Rectangle" };
_comboBox.SelectedIndex = 0;
_comboBox.SelectedIndexChanged += ComboBox_SelectionChanged;
Expand All @@ -62,7 +62,7 @@ protected override void OnDetachingFrom(SampleView bindable)
/// <param name="e">Event Arguments</param>
void ComboBox_SelectionChanged(object? sender, EventArgs e)
{
if (_calendar != null && sender is Picker picker && picker.SelectedItem is string selectionShape)
if (_calendar != null && sender is Microsoft.Maui.Controls.Picker picker && picker.SelectedItem is string selectionShape)
{
if (_calendar.BindingContext is AppearanceViewModel)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class DateSelectionBehavior : Behavior<SampleView>
/// <summary>
/// The combo box that allows users to choose to whether to select date or a range.
/// </summary>
Picker? _comboBox;
Microsoft.Maui.Controls.Picker? _comboBox;

/// <summary>
/// The label to display the selected date or range.
Expand Down Expand Up @@ -67,7 +67,7 @@ protected override void OnAttachedTo(SampleView bindable)
_label = bindable.Content.FindByName<Label>("label");
_selectionLabel = bindable.Content.FindByName<Label>("selectionLabel");
#endif
_comboBox = bindable.Content.FindByName<Picker>("comboBox");
_comboBox = bindable.Content.FindByName<Microsoft.Maui.Controls.Picker>("comboBox");
_comboBox.ItemsSource = new List<string>() { "Date", "Range" };
_comboBox.SelectedIndex = 0;
_comboBox.SelectedIndexChanged += ComboBox_SelectionChanged;
Expand Down Expand Up @@ -125,7 +125,7 @@ void UpdateSelectionText()
/// <param name="e">Event Arguments</param>
void ComboBox_SelectionChanged(object? sender, EventArgs e)
{
if (_calendar != null && sender is Picker picker && picker.SelectedItem is string selectionMode)
if (_calendar != null && sender is Microsoft.Maui.Controls.Picker picker && picker.SelectedItem is string selectionMode)
{
if (selectionMode != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<ColumnDefinition Width="0.5*"/>
<ColumnDefinition Width="0.5*"/>
</Grid.ColumnDefinitions>
<Label Text="Selection Type"
<Label Text="Selection type"
Grid.Column="0"
LineBreakMode="WordWrap"
FontSize="14"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ protected override void OnAttachedTo(SampleView bindable)
if (_calendar != null)
{
_calendar.SelectedDate = DateTime.Now;
_calendar.MinimumDate = DateTime.Now;
_calendar.ActionButtonClicked += Calendar_ActionButtonClicked;
_calendar.ActionButtonCanceled += Calendar_ActionButtonCanceled;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,22 @@ internal class GettingStartedBehavior : Behavior<SampleView>
/// The combo box is a text box component that allows users to type a value or choose
/// an option from the list of predefined options.
/// </summary>
Picker? _comboBox;
Microsoft.Maui.Controls.Picker? _comboBox;

/// <summary>
/// This combo box is used to choose the selection mode of the calendar
/// </summary>
Picker? _selectionComboBox;
Microsoft.Maui.Controls.Picker? _selectionComboBox;

/// <summary>
/// This combo box is used to choose the selection shape of the calendar
/// </summary>
Picker? _selectionShapeComboBox;
Microsoft.Maui.Controls.Picker? _selectionShapeComboBox;

/// <summary>
/// This combo box is used to choose the selection direction of the calendar
/// </summary>
Picker? _directionComboBox;
Microsoft.Maui.Controls.Picker? _directionComboBox;

/// <summary>
/// Grid for SelectionDirection, TrailingDates and EnableSwipeSelection
Expand Down Expand Up @@ -119,23 +119,23 @@ protected override void OnAttachedTo(SampleView bindable)

_cornerRadiusSlider = bindable.Content.FindByName<Slider>("cornerRadiusSlider");

_comboBox = bindable.Content.FindByName<Picker>("comboBox");
_comboBox = bindable.Content.FindByName<Microsoft.Maui.Controls.Picker>("comboBox");
_comboBox.ItemsSource = Enum.GetValues(typeof(CalendarView)).Cast<CalendarView>().ToList();
_comboBox.SelectedIndex = 0;
_comboBox.SelectedIndexChanged += ComboBox_SelectionChanged;

_selectionComboBox = bindable.Content.FindByName<Picker>("selectionComboBox");
_selectionComboBox = bindable.Content.FindByName<Microsoft.Maui.Controls.Picker>("selectionComboBox");
_selectionComboBox.ItemsSource = Enum.GetValues(typeof(CalendarSelectionMode)).Cast<CalendarSelectionMode>().ToList();
_selectionComboBox.SelectedIndex = 0;
_selectionComboBox.SelectedIndexChanged += ComboBox_SelectionTypeChanged;

_selectionShapeComboBox = bindable.Content.FindByName<Picker>("selectionShapeComboBox");
_selectionShapeComboBox = bindable.Content.FindByName<Microsoft.Maui.Controls.Picker>("selectionShapeComboBox");
_selectionShapeComboBox.ItemsSource = Enum.GetValues(typeof(CalendarSelectionShape)).Cast<CalendarSelectionShape>().ToList();
_selectionShapeComboBox.SelectedIndex = 0;
_selectionShapeComboBox.SelectedIndexChanged += ComboBox_SelectionShapeChanged;

_selectionDirectionGrid = bindable.Content.FindByName<Grid>("selectionDirectionGrid");
_directionComboBox = bindable.Content.FindByName<Picker>("directionComboBox");
_directionComboBox = bindable.Content.FindByName<Microsoft.Maui.Controls.Picker>("directionComboBox");
_directionComboBox.ItemsSource = Enum.GetValues(typeof(CalendarRangeSelectionDirection)).Cast<CalendarRangeSelectionDirection>().ToList();
_directionComboBox.SelectedIndex = 0;
_directionComboBox.SelectedIndexChanged += DirectionComboBox_SelectionChanged;
Expand Down Expand Up @@ -240,7 +240,7 @@ void DatePicker_DateSelected(object? sender, DateChangedEventArgs e)
/// <param name="e">Event Arguments</param>
void DirectionComboBox_SelectionChanged(object? sender, EventArgs e)
{
if (_calendar != null && sender is Picker picker && picker.SelectedItem is CalendarRangeSelectionDirection selectionDirection)
if (_calendar != null && sender is Microsoft.Maui.Controls.Picker picker && picker.SelectedItem is CalendarRangeSelectionDirection selectionDirection)
{
_calendar.RangeSelectionDirection = selectionDirection;
}
Expand Down Expand Up @@ -300,7 +300,7 @@ void Calendar_ViewChanged(object? sender, CalendarViewChangedEventArgs e)
/// <param name="e">Event Arguments</param>
void ComboBox_SelectionTypeChanged(object? sender, EventArgs e)
{
if (_calendar != null && sender is Picker picker && picker.SelectedItem is CalendarSelectionMode selectionMode)
if (_calendar != null && sender is Microsoft.Maui.Controls.Picker picker && picker.SelectedItem is CalendarSelectionMode selectionMode)
{
_calendar.SelectionMode = selectionMode;
if (_calendar.SelectionMode == CalendarSelectionMode.Range)
Expand Down Expand Up @@ -349,7 +349,7 @@ void ComboBox_SelectionTypeChanged(object? sender, EventArgs e)
/// <param name="e">Event Arguments</param>
void ComboBox_SelectionShapeChanged(object? sender, EventArgs e)
{
if (_calendar != null && sender is Picker picker && picker.SelectedItem is CalendarSelectionShape selectionShape)
if (_calendar != null && sender is Microsoft.Maui.Controls.Picker picker && picker.SelectedItem is CalendarSelectionShape selectionShape)
{
_calendar.SelectionShape = selectionShape;
}
Expand All @@ -362,7 +362,7 @@ void ComboBox_SelectionShapeChanged(object? sender, EventArgs e)
/// <param name="e">Event Arguments</param>
void ComboBox_SelectionChanged(object? sender, EventArgs e)
{
if (_calendar != null && sender is Picker picker && picker.SelectedItem is CalendarView view)
if (_calendar != null && sender is Microsoft.Maui.Controls.Picker picker && picker.SelectedItem is CalendarView view)
{
_calendar.View = view;
if (_trailingDatesGrid != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<ColumnDefinition Width="0.5*"/>
<ColumnDefinition Width="0.5*"/>
</Grid.ColumnDefinitions>
<Label Text="Calendar View"
<Label Text="Calendar view"
Grid.Column="0"
LineBreakMode="WordWrap"
FontSize="14"
Expand All @@ -51,7 +51,7 @@
<ColumnDefinition Width="0.5*"/>
<ColumnDefinition Width="0.5*"/>
</Grid.ColumnDefinitions>
<Label Text="Calendar Selection"
<Label Text="Calendar selection"
Grid.Column="0"
LineBreakMode="WordWrap"
FontSize="14"
Expand Down Expand Up @@ -93,7 +93,7 @@
<ColumnDefinition Width="0.5*"/>
<ColumnDefinition Width="0.5*"/>
</Grid.ColumnDefinitions>
<Label Text="Selection Direction"
<Label Text="Selection direction"
x:Name="selectionDirectionText"
Grid.Column="0"
LineBreakMode="WordWrap"
Expand All @@ -115,13 +115,16 @@
<ColumnDefinition Width="0.5*"/>
<ColumnDefinition Width="0.5*"/>
</Grid.ColumnDefinitions>
<Label Text="Display Date"
<Label Text="Display date"
LineBreakMode="WordWrap"
FontSize="14"
VerticalOptions="Center"
HorizontalOptions="Start"/>
<DatePicker x:Name="datePicker" HeightRequest="37"
Grid.Column="1"/>
HorizontalOptions="Start"
HeightRequest="37"
VerticalTextAlignment="Center"/>
<DatePicker x:Name="datePicker"
Grid.Column="1"
VerticalOptions="Center" />
</Grid>

<Grid x:Name="allowViewNavigationGrid">
Expand Down Expand Up @@ -187,7 +190,7 @@
<ColumnDefinition Width="0.7*"/>
<ColumnDefinition Width="0.3*"/>
</Grid.ColumnDefinitions>
<Label Text="Enable Past Dates"
<Label Text="Enable past dates"
LineBreakMode="WordWrap"
FontSize="14"
VerticalOptions="Center"
Expand All @@ -206,7 +209,7 @@
<ColumnDefinition Width="0.7*"/>
<ColumnDefinition Width="0.3*"/>
</Grid.ColumnDefinitions>
<Label Text="Enable swipe Selection"
<Label Text="Enable swipe selection"
LineBreakMode="WordWrap"
FontSize="14"
VerticalOptions="Center"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public override void OnDisappearing()
/// <param name="e">Event Arguments</param>
void comboBox_SelectionChanged(object sender, EventArgs e)
{
if (sender is Picker picker && picker.SelectedItem is string theme)
if (sender is Microsoft.Maui.Controls.Picker picker && picker.SelectedItem is string theme)
{
if (theme == null)
{
Expand Down
Loading