Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Proposal: Standardize Tag Property #221

Open
francedot opened this issue Nov 3, 2017 · 0 comments
Open

Proposal: Standardize Tag Property #221

francedot opened this issue Nov 3, 2017 · 0 comments

Comments

@francedot
Copy link

Standardize a Tag Property as in UWP/WPF.

As of now, Xamarin.Forms View or Element base classes do not expose a Tag property.
A Tag property could be useful for passing data from xaml to code behind when interacting with a control. There are other properties like ClassId and StyleId, which could be used for the same purpose of Tag but are not as semantically meaningful as Tag.

Tag Property

<Image x:Name="ExploreImage"
       Tag="Explore"
       Source="explore.png"
       WidthRequest="40"
       HeightRequest="40"/>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant