Questions tagged [bindable]

The Bindable annotation should be applied to any getter accessor method of an Observable class. Bindable will generate a field in the BR class to identify the field that has changed.

93 questions
0
votes
1 answer

Update the target from the source with bindable base WPF

This is bindable property in viewmodel private string _tooltip; public string Tooltip { get { return _tooltip; } set { _tooltip = value; SetProperty(ref _tooltip, value); } …
PRK
  • 177
  • 1
  • 4
  • 15
0
votes
2 answers

Xamarin forms: How to render same entered A entry text in B entry and vise versa

How do I render text entered in A entry text in B entry and vise versa? I'm very new to Xamarin forms development. ViewModal: Below are Entry field bindable objects, Here each field has its decimal validation. Requirement : if A entry text changed,…
0
votes
1 answer

Global bindable property in Xamarin

I would like to create a bunch of bindable properties to be used by views from all over the app. Default font size/color in a label - that sort of thing. When a property changes, I expect all views to reflect this change. Is this possible? How…
user1334767
  • 587
  • 4
  • 17
0
votes
1 answer

Bindable variable not updating with viewstack / swiz

I'm using the Swiz framework and I'm trying to update my viewstack's selectedIndex with a bindable property. It gets to my event handler which updates the bindable variable but the Main app file's viewstack never realizes it. What could be the…
Mike6679
  • 5,547
  • 19
  • 63
  • 108
0
votes
0 answers

Aurelia bug with bindable in combination with class decorator?

I've either encountered a bug in Aurelia or failed to create a class decorator. Since it requires a fair amount of code to describe and re-create I've created a gist.run with further information and instructions. Any help is greatly appreciated!
jwx
  • 101
  • 1
  • 4
0
votes
1 answer

OnPropertyChanged is being called twice for a bindable property

In Xamarin Forms, I created a bindable property like so: public static readonly BindableProperty SelectedItemProperty = BindableProperty.Create("SelectedItem", typeof(MyItem), typeof(MyGrid), default(MyItem)); public MyItem SelectedItem { get…
Mark13426
  • 2,569
  • 6
  • 41
  • 75
0
votes
1 answer

flex bound visibility messes up during fx animations

working in flex 4 i have a variable: [Bindable] public var visibility:Boolean = true; these effects:
handler
  • 1,463
  • 11
  • 11
0
votes
1 answer

Flex components property change event

I have a custom component on which I have bound an array collection to one of its proeprties: images is an arraycollection In the components' code I would like to know which event to listen on everytime…
Tarek
  • 759
  • 2
  • 8
  • 17
0
votes
1 answer

Ways to implement Flex [Bindable] in other languages

As you may know, ActionScript allows you to mark a variable as [Bindable], causing any changes to that variable to have immediate effect all over your application. Pretty neat. How would you implement this feature in your favourite programming…
0
votes
2 answers

Getting the target when using bindable getter in flex

I have the following files: model.as clint.mxml in clint.mxml I have the following line: ... in the model.as I have a getter: [bindable(event="locationXChanged")) function get locationX () : int { return…
Clint Feher
  • 51
  • 1
  • 3
0
votes
3 answers

Binding in Flex: How to make a variable automatically update when another variable is changed?

I know that it is possible to make a parameter of a component depend on a variable, provided that variable contains the [Bindable] tag. This means that updating the value of the Bindable variable automatically updates the component. Is it possible…
danxinnoble
  • 155
  • 1
  • 6
0
votes
2 answers

How to search a string within a flex datagrid dataProvider 4?

I tried using filterFunction not get any results, check out this example: [Bindable] public var SearchLoadlistOneDP:ArrayCollection; public function SearchList():void { SearchLoadlistOneDP.filterFunction = filter; …
user345824
0
votes
1 answer

Xamarin Forms Settings Plugin Bindable

I've been the really great Xamarin Cross Platform settings plugin https://components.xamarin.com/view/SettingsPlugin (the Nuget version of this in a PCL to be exact) It works well, but now using Xamarin forms i'd really like to be able to Bind to…
0
votes
0 answers

How is Function.bind.bind(Function.bind) usefull

I was just wrapping my head around this var bindable = Function.bind.bind(Function.bind); Now, I think the key to understanding this problem would be a scenario of how this is used. I can imagine its useful but I can't think of any example. Can…
Jeanluca Scaljeri
  • 26,343
  • 56
  • 205
  • 333
0
votes
2 answers

Cannot bind RemoteObject from BlazeDS

I'm using BlazeDS in Tomcat7 and Flex. I'm trying to use custom classes between the client and server. In as: package { [Bindable] [RemoteClass(alias="remoting.Product")] public class Product { public var name:String; public…
zavr
  • 2,049
  • 2
  • 18
  • 28