Category "xamarin.forms"

How to change the cancel icon in Xamarin Forms Shell SearchHandler

I have a Xamarin Forms Shell app where I have implemented the Shell SearchHandler. The cancel button shows a book image. This only occurs on iOS - on Android,

Xamarin MAUI application not shows correct output

I have downloaded Visual Studio 2022 Professional (preview) version from MS Document. Also I have followed the other steps to create first sample application us

Xamarin.Forms iOS app in Release mode Community Toolkit TouchEffect command not firing

I have a Xamarin.Forms application with an Android and iOS version. The Android version is working fine in both Debug and Release mode.. in fact the Android ver

attribute barrierMargin (aka com.example.myapp:barrierMargin) not found

After updating xamarin.forms version to 5.0.2244 facing attribute barrierMargin (aka com.example.myapp:barrierMargin) not found myapp.Android\obj\Debug\100\lp\1

Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol' threw an exception

I am getting the following exception when running Xamarin Forms iOS app after upgrade to the latest Visual Studio Mac: {System.TypeInitializationException: The

How can i Change tab item Content on Xamarin forms shell

I need to change one of my tabs' content depending on the condition of the user logged in or just a guest this is my shell <?xml version="1.0" encoding="utf-

How to bind an imageSource from a List of Image items in .NET MAUI

I'm developing an app that will soon have a server/DB. I want toaccomplish the binding between the List images and the xaml. Any idea of how to proceed? public

How to align image to the left and text to the center on a Xamarin button in iOS?

I want to align my text in the center, but the image on the left. I have tried it with HorizontalAlignment, but it aligns both. How to do it?

Can't deploy Xamarin app to IOS device (Provisioning Profile: Missing Private Key)

I've paired to my Mac with Xcode version 13.3 I've renewed my Apple Development Membership (Individual) and got a < new Team ID >. In Visual Studio 2022 (

Xamarin.Forms: Reload a contentpage contained in a tabbedpage to update the data

The default language of my Xamarin.Forms app for Android is French. I would like the user to be able to change the language and choose English or Spanish. To d

How to access fields or controls of Custom View from another Page's XAML in Xamarin Forms?

I am having a Custom Control, I want to add some elements from the Page in which it will be used. Just like this <Label> <Label.Text>First Name&

Why am I getting this error/warning whenever I try to use MediaPicker.PickPhotoAsync?

Whenever I use the following code in order to select a photo from my Library using my iOS simulator I get an error/warning. The image is then selected and shown

Android Play integrity api samples possibly xamarin

I am looking for way to secure my apps in both Android and iOS. Android Noticed that there is this new api Play Integrity Api I am looking for any example on us

Provisioning profile for Xamarin Forms iOS Extension

Hi all I have created a service extension project in my Xamarin forms solution. I have enabled App Groups in Entitlements.plist in both the extension project an

How to achieve Indeterminate state for checkbox in Xamarin form In Android

I want to achieve CheckBox where it works for three state. In UWP I am able to achieve with custom Renderer with "IsThreeState" and by setting IsChecked propert

How to get selected item in Xamarin

I have a Picker in Xamarin and I want to pass the selected item in Picker to the another page(TablePage). Below this Picker there is a button and whenever it is

Expandable Menu Item in Appshell in Xamarin.Forms

I would like to add expander menu items in the appshell menu as below I could not find any example for it. Is there a way to implement it? i think that, someho

Binding to a static property doesn't update in Xamarin Forms

I am learning to use MVVM in Xamarin Forms. I am stuck with a Binding issue. I have been trying different solutions on the internet for the past few hours. I am

Span Label underline is not working on Xamarin iOS

I'm using a Label with Spans, one of them is a link and I want to add an underline style, I'm using <Span Text="Link url" TextDecorations="Underline" /> b

Xamarin.Forms set Button ImageSource as ffimageloading Svg embedded resource

I would to put a svg embedded image as ImageSource for a Button in Xamarin.Forms, something like this <Button Text="Button" ImageSource="resource://fullname