Skip to content

Bindings property when using x:Bind #2260

Closed

Description

@33kelder

What would you like to be added:

A Bindings property of a usercontrol, generated by the compiler, when adding x:Bind bindings.

Why is this needed:

This is needed to be able to access the x:Bind bindings defined in XAML. When a datacontext changes, the bindings need to be updated. In UWP this is fixed easily by calling Bindings.Update() in the DataContextChanged eventhandler in the code behind.

For which Platform:

  • iOS
  • Android
  • [ x] WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • Windows
  • Build tasks
  • Solution Templates

Anything else we need to know?

I am just developing for UWP and WebAssembly, but maybe this applies also for other platforms other than UWP and WebAssembly

Activity

  1. added
    kind/enhancement
    triage/untriaged
    on Dec 5, 2019
  2. removed
    triage/untriaged
    on Dec 9, 2019
  3. jeromelaban commented on Dec 9, 2019

    @jeromelaban
    Member

    Thanks for your suggestion!

    Related to #347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions