Questions tagged as 'binding'

1
answer

What is the difference between the types of binding in the Angular?

Non-Angular (non-AngularJS) there are some ways to bind Component properties to the View. <img src="{{ boundProperty }}"> <img bind-src="boundProperty"> <img [src]="boundProperty"> Is there a proper way to perform bindings...
asked by 22.09.2017 / 04:58
1
answer

Updating values of an object from a collection via Binding WPF, MVVM

Following the MVVM model, I am not able to update the values of a variable of an object in a collection, display them on the screen or the user type and this value is passed to the variable. In my case, I have a customer registration screen a...
asked by 26.10.2016 / 15:38
2
answers

ASP.NET MVC 5, I can not get set when I go into edit

I have a service class and I have the User responsible for the service, which is a user of IdentityUser .    Remembering that I changed the String Identity Id to "Int", just that. I can usually register, however, when I edit, it lis...
asked by 28.12.2017 / 15:34
1
answer

Problem with custom control

I created a custom search bar with an entry. I need to get the text of this entry to be a search parameter. So I created a custom property that uses the Text property of entry. But this custom property does not take the text from the custom s...
asked by 11.06.2018 / 15:34
1
answer

XAMARIN - List View with Binding without Information

I'm doing a project with Xamarin.Forms and I'm having a problem. The project is referring to the bus route of my city, however when doing the code and playing to the screen, even though it has BINDING it does not even go to the screen, thus leav...
asked by 03.10.2018 / 04:39
1
answer

How to get the value of several items and change according to my if

I have a list of items (which comes from the database), I need to compare each item from one of those and if the value is 0 change the text. Below is the function I am trying to use to change the value of the item. function isFree(){ var p...
asked by 12.06.2018 / 14:25
1
answer

BooleanBinding of multiple properties

I made the following structure so that when you make one of the components invisible, the others follow the same configuration. A.visibleProperty().bindBidirectional(B.visibleProperty()); A.visibleProperty().bindBidirectional(C.visiblePropert...
asked by 12.02.2017 / 21:06
2
answers

Angular 2 Binding in Component

I have the following scenario. I have a list in a webservice, but when I do a return to pass the value to my component it simply does not bind because it is time consuming, and even when it comes back I call the WS again it does not update the d...
asked by 22.08.2016 / 15:30
2
answers

How not to lose decimals when doing "longProperty1.divide (longProperty2)"?

What I want to do is very simple, I just do not know how to "do it right" in JavaFX: I have two LongProperty ( num1 e num2 ) and a DoubleProperty ( resultado ) , where this DoubleProperty resultado must contain...
asked by 16.09.2017 / 23:39
1
answer

How to Bind the Visibility of a Label to the Size of a List

I have a list of objects of type "BasicVariable", a% of them%, and I need the Graphic Interface to show a Label when the number of items in this collection exceeds 1000, I think the binding is correct but I did not get one how the counter and UI...
asked by 31.07.2018 / 18:38