Questions tagged [bindableproperty]

54 questions
0
votes
1 answer

How to force calling the coerceValue of a bindable property when another bindable property change?

I have a custom control like this: this is Value bindable property: public static readonly BindableProperty ValueProperty = BindableProperty.Create(nameof(Value), typeof(double),…
mshwf
  • 7,009
  • 12
  • 59
  • 133
0
votes
1 answer

BindableProperty issue in customized Entry control

I am trying to add a bindable property to an entry in Xamarin.Forms. This should allow me to set/unset the keyboard focus for the Entry by assigning a boolean to the HasFocus property. I am using ReactiveUI as a MVVM framework and the…
Mouse On Mars
  • 1,086
  • 9
  • 28
0
votes
2 answers

Bindable property value pass from Child view's bindable property inside parent Page using Xamarin Forms?

I created a View(BlankScreen) which has Image and in the code behind of the view I created a BindableProperty Icon. View's Xaml Code:
0
votes
1 answer

Unable to set bindings to BindableProperties in Partial Views using Xamarin Prism 7.1

I'm using the Partial Views feature of Prism 7.1 in Xamarin in which the ContentView can have its own ViewModel. The binding to the viewmodel is working fine. However, I would also like to set a BindableProperty. For example, I would like to set a…
0
votes
1 answer

Xamarin conditionally show in derived ControlTemplate ContentPresenter

Not quite finding what I am looking for. Newbie for any android / iPhone type of development, but do have WPF experience with control templates, styles and working with xaml. Here is an example image of what I am trying to accomplish but cant quite…
DRapp
  • 47,638
  • 12
  • 72
  • 142
0
votes
1 answer

Can I disable a Button in my Xamarin ContentView custom control using a BindableProperty?

I want to be able to disable a button in a custom header, a ContentView, in my Xamarin.Forms app so that I can warn users that they have unsaved data before navigating away from the ContentPage which contains it. I have created a BindableProperty…
Blanthor
  • 2,568
  • 8
  • 48
  • 66
-1
votes
1 answer

The property 'CalculateCommand' was not found in type 'ContentPage' Xamarin Forms

I have this problem with BindableProperty, I am working on a GPS Project and I cannot find the solution imageFromMyProjectHere
-1
votes
2 answers

Xamarin forms bindable property entry not working

I'm struggeling a bit with a bindable property and the propertyChanged event not firing when new text is entered. I've made a minimal codesample: Xaml custom control:
OneBigQuestion
  • 149
  • 6
  • 19
-1
votes
1 answer

Can I combine a Xaml

I have XAML code that I use to set up a frame and frame heading like this:
Alan2
  • 23,493
  • 79
  • 256
  • 450
1 2 3
4