Category "xamarin.forms"

Xamarin.Forms ListView with an AutoSize height

I've read many stackoverflow articles to find out how to set height of the ListView so that the ListView is exactly as high as is its content. But none of the m

How to enable zoom in and zoom out on a contentpage in xamarin forms?

How can I enable zoom on a contentpage in xamarin forms? Is it possible to enable it on the entire contentpage? Or is it only possible to zoom in on images?

XA5104 Could not locate the Android NDK

XA5104: Could not locate the Android NDK. Please make sure the Android NDK is installed in the Android SDK Manager, or if using a custom NDK path, please ensure

How can I create a Xamarin.Forms cards carousel?

How can I get this carousel of cards in Xamarin Forms? I did it in ASP.Net-MVC C# and I'm using a JS plugin and HTML and CSS. Now I need to do it using Xamarin

Change Style name for some view inside ViewCell upon Listview TappedItem, Xamarin Forms

I've Xamarin Forms app and I have Listview which looks like this : <ListView x:Name="CalendarList" VerticalOptions="FillAndExpand" VerticalScrollBarVisibili

What will happen to custom controls and Renderers in .net maui?

In my Current Xamarin.Forms projects I have created many Renderers for different requirements. Now in September maui is coming and we have to migrate our projec

Fast update Android notification

I write simple audio player for Android. I wrote basic functional and now I want create notification for control audio player. I use Android classes Service and

Resources.UpdateConfiguration is obsolete

I want to prevent system font-size changing, effects to my xamarin forms android application. I tried with below code in MainActivity.cs and its working, but it

Add Gradient background to layouts in Xamarin Forms visual studio

I am a newbie in Xamarin Forms, I create a ContentPage for Menu. I need linear gradient color at its background. But I can't find any link which tell me how to

Button text font size based on the size of the button

I would like to resize the text inside my button based on the size of my button. How can I do it? <Button StyleClass="btnFAF" Text="Field Activity" Grid.Row=

MAUI Shell remove OverScroll from the sides

I've bein workeing on my app. It's useing SwipeView and 9 times out of 10, when I want to swipe the item to remove it - I get this (as I called it) ScrollPrevie

Toast equivalent for Xamarin Forms

Is there any way using Xamarin Forms (not Android or iOS specific) to have a pop-up, like Android does with Toast, that needs no user interaction and goes away

Can't initialize/start emulator after press F5 without starting emulator device VS 2019/2022

If in a new project I start the emulator device and next press F5 the project is showed in the device correctly, but if I miss step one and directly press F5 it

Create a StackLayout inside a Frame in Xamarin Forms using C# as background code

I use an <Frame> in my xaml page like this: <StackLayout> <Frame> <StackLayout> <Button></Button>

System.Net.WebException: Error: NameResolutionFailure when Calling WEBAPI in xamarin forms

I have created one simple xamarin form application using PCL, which is showing data in listview using WEBAPI. When i call WebAPI , i am getting below error. ex

Listview in xamarin form not using full space of form

I am working on Xamarin forms cross platform app. I have a form where i need to show data in listview. Data is displaying but its not using entire space resul

How to create bindable command for custom component in Xamarin.Forms?

I've a custom component where I've button and I'm trying to create a bindable command so that I can perform action based on viewmodel. I've tried few things but

How to place this Label and Image with Xamarin Forms?

I'm trying to learn Xamarin forms and wish to try to do the following: I'm thinking that I need to use a RelativeLayout but I'm struggling to understand how

Need to retrieve images (Varbinary MAX) from SQL Server 2014 to Xamarin by using C#

I am new to the Xamarin platform, I have a local hosted database in SQL Server 2014 using php (with aid of XAMP server) and the table name ItemProductsDB and sa

Xamarin forms : Stop page being accessible from hardware back button

I am using xamarin forms prism. Quick info : I have a page that contains information, this page the user can delete along with its information, this page is an