Questions tagged [binding-context]

Part of knockout.js, binding context is an object that holds data that you can reference from your bindings.

Part of knockout.js, binding context is an object that holds data that you can reference from your bindings.

References

Related Tags

41 questions
0
votes
2 answers

Can a BindingContext object data binding object directly be changed on changing of an entry field?

I am new to xamarin, i hope someone can help me with this: I have a sinple page with entry fields and data binding. I have page A with a listview. When I click on an item, I get redirected to page B which has the form elements. async void…
JYB
  • 15
  • 5
0
votes
1 answer

Xamarin ListView ItemsSource cannot bind data inside PopupPage

I'm stuck with a strange issue. (In this code, I'm using a InputKit.Checkbox) Followed by this tutorial, I've created view, model, and viewmodel like so: view.xaml:
0
votes
1 answer

Xamarin Forms: Dynamically creating a Listview item -> Problem with BindingContext

as I was already describing in another post here on Stackoverflow, I was trying to get a different layout (one frame spanning multiple listview items). Now I decided to try the following approach: My ViewModel is a List of Lists (just like for a…
Wolffi82
  • 47
  • 3
  • 7
0
votes
2 answers

Text input cell values clears in table when scrolling

I have an input text value box in a table column in each table row. That data is fetched initially and populates in that particular table cell initially. This cell is editable by the user where it can be later saved in the DB upon clicking on a save…
Dilshan
  • 3,231
  • 4
  • 39
  • 50
0
votes
1 answer

Xamarin Binding Context with class properties

I have a Page that have BindingContext like a class. private WorkOrderDettaglioSpesa _WoSpesaDett = new WorkOrderDettaglioSpesa(); public WorkOrderDettaglioSpesa WoSpesaDett { get { return _WoSpesaDett; } set { _WoSpesaDett = value; …
Hikari
  • 589
  • 7
  • 29
0
votes
3 answers

How can I specify a binding context in Vue.js just like in knockout.js and WPF

We are using Vue.js, very nice framework if you ask me. From Knockout.js and WPF I know that a context can be specified for the bindings. How can this be done with Vue.js? See the example below. Here binding-context is pseudo code for the…
Mike de Klerk
  • 11,906
  • 8
  • 54
  • 76
0
votes
0 answers

Getting a specific data in database and bind it to mypage

I want to get the value where id = 1 from my DB when I execute tapImage_tapped. async void tapImage_Tapped(object sender, EventArgs e) { await Navigation.PushAsync(new InfoPage() { BindingContext = new values().id_values == 1; …
0
votes
1 answer

Xamarin forms Horizontal listview showing images from ObservableCollection

I want to display Images/Thumbnails of photos that I've been taking in a horizontal view as a part of my content page. I've stored the images paths as strings in a ObservableCollection. What's the best approach to do this in XAML and PCL. Would be…
0
votes
2 answers

aurelia bindingcontext gets overridden by parent

ANSWERED BELOW I have a problem with an Aurelia bindingcontext being replaced by the parent component. I have a first component which has a sourceItem property which is bound in its view: ${sourceItem.Name} This shows the correct value "Parent…
Gaet
  • 699
  • 3
  • 11
0
votes
1 answer

Xamarin.Forms get ViewModel as BindingContext in ViewCell of ListView

I add DataTemplateSelector in FlowListView(Basically same as ListView). ...
kingsj0405
  • 149
  • 14
0
votes
0 answers

Xamarin Forms ViewCell not displaying binded data with list but works with tuple

Strange behaviour when I try to wire up a viewcell in Xamarin Forms to show data from the BindingContext. Basically I populate an object to hold 3 images (besides other things) - I'm new to Xamarin and thought I'd try to figure out how to build an…
fractal
  • 1,649
  • 17
  • 31
1 2
3