All Questions
18 questions
0
votes
2
answers
563
views
Binding MicroCharts in Xamarin
I tried to make a chart with MicroChart, by LearnTechnologies youtube tutorial (https://www.youtube.com/watch?v=O6xhZkJa7H4&t=1s), but for me it's not working. I tried to do it completely based on ...
0
votes
1
answer
149
views
How to implement Binding for ImageButtons so that the image is only displayed once the image is loaded?
I have two ImageButtons which should switch their images when clicked.
<ImageButton
Grid.Column="15"
Grid.Row="20"
Clicked="Clicked"
Source=&...
0
votes
0
answers
85
views
How do I bind an ImageSource to a specific element's property in an ObservableCollection?
I would really like to know how I can bind an ImageSource to a specific element's property in an ObservableCollection... Right now I have this:
<ContentPage xmlns="http://xamarin.com/schemas/...
1
vote
2
answers
921
views
Bind Two Different Views for same ViewModel
This looks like similar to MVVMCross - Bind the same ViewModel to 2 different Views
But after there I don't get an answer how can I select one View for ViewModel and in another time the second View ...
0
votes
1
answer
41
views
Why Xamarin renders nothing when I try to access a property of the binded object?
One of my Xamarin MVVM application’s pages is here presented. Its XAML code is the following:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage ...>
<...
0
votes
2
answers
3k
views
Binding to elements of a list in xamarin
So i've multiple Labels already created and i want to bind each label.text to an item of a list as the code shows. but it seems that i can't access the value of items by index
<StackLayout ...
-1
votes
1
answer
57
views
How can I use (Populate/item.source) 2 ListViews with 2 differents BindingContext in same ContentView
I'm trying to populate 2 listviews from differents ViewModels and differents Models.
I tried to use Itemsource between 2 bindingcontext. (See my view.cs)
I try to use a name in my view and send a ...
0
votes
0
answers
65
views
Double simultaneously changing of the property fires only one propertyChanged event and second is ignored
Double simultaneously changing of the view model property fires only one BindableProperty.PropertyChanged event and second is ignored.
Examples
VM.MyProperty = new Point[1];
VM.MyProperty = new ...
0
votes
2
answers
1k
views
Observable collection binding to list view won't show
I am having trouble with my View, which won't bind my Observable Collection of type UserModel. The Data is being displayed with Debug.WriteLine it just won't bind to the View. Here is my code.
View - ...
5
votes
1
answer
5k
views
Binding Context inside Data Template view cell in Xamarin Forms
I have a custom cell displayed in a listview. It should not be working but my concern is that it works and I don't understand why.
Let me lay things out for you, because it's a little bit complex.
...
0
votes
1
answer
563
views
Binding switch value to list element by index
I have a multiple switch's (days of week) that I want to bind it to a list specific index's .. like Saturday => mylist[0] , Sunday mylist[1]
right now when i try to get the value it's return null !
...
0
votes
1
answer
51
views
Binding help XAML Xamarin Forms .net2.0 app
I have some XAML
<Label x:Name="AYCOBRO" Text="{Binding COBRO}" Margin="10,10,0,0"/>
The cs page/ code page behind the XAML gets the binding context set with:
BindingContext = new ...
0
votes
2
answers
937
views
How to bind a ContentView to a property?
I'm having a hard time binding a ContentView to a property in a C# Xamarin app.
Here is how I'm composing it:
protected override View MyView
{
get
{
if (_myView == null)
{
...
0
votes
1
answer
325
views
Xamarin Binding List of Lists
public class test
{
public string str { get; set; }
public List<string> lstTest { get; set; }
}
This is fragment of my code, i need to Binding a list of this object in a ...
1
vote
1
answer
1k
views
Custom Checkbox Default Text Binding on Xamarin
I have a custom Checkbox is implemented as below;
public class CheckBox : View, INotifyPropertyChanged
{
/// <summary>
/// The checked state property.
/// </summary>
...