SFButton IsCheckable property

hi, 

i'm migrating from forms and i'm not able to find IsCheckable, IsChecked properties.

are you going to add them?

thanks


9 Replies

KP Kamalesh Periyasamy Syncfusion Team December 29, 2023 11:28 AM UTC

Hi Luca,

 

Currently, we don't have IsChecked and IsCheckable properties support for SfButton in .NET MAUI. We have already created a feature request for the required behavior in SfButton "Implement the checkable support for SfButton in .NET MAUI". Please find the below link for tracking the status of the feature implementation.

 

Feedback link: Implement the checkable support for SfButton in .NET MAUI in .NET MAUI | Feedback Portal (syncfusion.com)

 

Please cast your vote to make it count. We will prioritize the features every release based on the demands and we do not have an immediate plan to implement this feature since we have committed to already planned work. So, this feature will be available in any of our upcoming releases.

 

If you have any more specifications/suggestions for the feature request, you can add them as a comment in the portal. We will share the release details in the feedback itself.

 

Regards,

Kamalesh P



LU Luca January 3, 2024 02:41 PM UTC

thanks,

this feature is very important.

thanks



KP Kamalesh Periyasamy Syncfusion Team January 4, 2024 11:22 AM UTC

Hi Luca,

 

We would like to inform you that the IsChecked and IsCheckable properties support for SfButton in .NET MAUI will be available in our volume 1, 2024 main release, tentatively scheduled for the end of March 2024.

 

If you have any more specifications/suggestions for the feature request, you can add them as a comment in the portal. We will share the release details in the feedback itself.

 

Disclaimer: Please note that the availability timeline of the feature may be subject to changes.

 

Regards,
Kamalesh P



KP Kamalesh Periyasamy Syncfusion Team March 18, 2024 02:31 PM UTC

Hi Luca,

 

We are glad to announce that our Essential Studio 2024 Volume 1 Main Release v25.1.35  is rolled out and is available for download under the following link.

 

Essential Studio 2024 Volume 1 Main Release v25.1.35 is available for download | Announcements Forums | Syncfusion

 

We have included IsChecked and IsCheckable properties support for SfButton in .NET MAUI. in our latest nuget v25.1.35 which is available for download (   https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

 

For further details, please refer to the following link for the help documentation for IsChecked and IsCheckable properties in SfButton in .NET MAUI.

 

Link: IsChecked and IsCheckable

 

Regards,

Kamalesh P



LU Luca March 22, 2024 07:05 PM UTC

super!!!!!!

I'm going to test now!

thanks a lot!!!!!



LU Luca March 23, 2024 02:13 PM UTC

Hi all,

after a quick test i found a bug.

Long story short: the button command fired before property attached to IsChecked is updated.

This is my xaml:


<syncfusion:SfButton

IsCheckable="True" IsChecked="{Binding IsClose,Mode=TwoWay,Converter={StaticResource intToBooleanConverter},ConverterParameter=1}"

CommandParameter="{Binding .}" Command="{Binding Path=BindingContext.XCommand, Source={x:Reference Name=ItemsListView}}"

/>


When I click on the button then XCommand runs. XCommand use IsClose variable that is updated after the run of the command while in forms is the opposite.

Can you check why? thanks




BV Brundha Velusamy Syncfusion Team March 26, 2024 02:11 PM UTC

Hi Luca,


We are able to reproduce the reported issue on .NET MAUI SfButton at our end, and we have fixed the issue. At present, a custom patch has been created for version 25.1.35. We have attached the NuGet file for your convenience.


Please note that we have created this patch for version 25.1.35 specifically to resolve the issue reported in this ticket. If you have received other patches for the same version for other products, please apply all patches in the order received.


Please clear the NuGet cache, before using the latest one and please refer to the below link for this

How to clear NuGet cache?


Please refer the below KB to install the custom NuGet on a local machine,

How to install the MAUI custom NuGet in the Windows machine?


This fix will be included in our upcoming weekly release on April 02, 2024. We will notify you once NuGet is released and appreciate your understanding and patience until that time.


Disclaimer: The inclusion of this solution in the weekly release may change due to other factors, including but not limited to QA checks and work reprioritization.


Root cause and resolution:


The problem arises because the clicking event is triggered before the IsChecked value changes, resulting in the IsChecked updating after the event is called. To resolve this issue, we modified the sequence to update the IsChecked value before the clicking event is triggered, ensuring proper functionality.


Regards,

Brundha V


Attachment: Syncfusion.Maui.Buttons.25.1.35_c2a64bb5.zip


LU Luca March 26, 2024 06:22 PM UTC

Thanks for the quick fix!!!!!!! Apprecieted!



BV Brundha Velusamy Syncfusion Team April 2, 2024 08:17 AM UTC

Hi Luca,

 

We have included the fix for the reported issue "The button command fired before property attached to IsChecked is updated" in our latest weekly NuGet release v25.1.38 which is available for download (NuGet). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you require any further assistance.

 

Regards,

Brundha V


Loader.
Up arrow icon