TemplateExtensions.SetBinding(DataTemplate, BindableProperty, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Binds the self
object's targetProperty
to a new Binding instance that was created with path
.
public static void SetBinding (this Xamarin.Forms.DataTemplate self, Xamarin.Forms.BindableProperty targetProperty, string path);
static member SetBinding : Xamarin.Forms.DataTemplate * Xamarin.Forms.BindableProperty * string -> unit
Parameters
- self
- DataTemplate
The template on which this method operates.
- targetProperty
- BindableProperty
The target property of the binding.
- path
- System.String
The path to the binding.