Skip to content

GetBinding() #24992

@MaxGuernseyIII

Description

@MaxGuernseyIII

Description

I would love to be able to get the current binding for a property. This doesn't seem like it should have anything to do with specific platforms. It looks like the data structures are there. I could access them with reflection, now, but it would be vastly preferable to have it be doable through the public interface.

Public API Changes

var entry = new Entry();
var binding = entry.GetBinding(somePropertyInfo);

// do stuff

entry.SetBinding(somePropertyInfo, binding);

Intended Use-Case

The main use case I imagine is for temporarily suspending binding. For instance, when an entry field is focused, I might want to turn off binding until they leave the field and then resume it with whatever they've typed in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions