Xamarincommunitytoolkit: Add Hashtags detection Behavior

Created on 28 Jul 2020  路  3Comments  路  Source: xamarin/XamarinCommunityToolkit

Summary

A time ago I did this post about adding hashtag detection to any text in Xamarin Forms

API Changes

  • Add this behavior
  • Update Sample project

Intended Use Case

<Label FormattedText="{Binding Text}" >
        <Label.Behaviors>
                <behaviors:HashtagTappedBehavior Command="{Binding HashtagCommand}" HashtagColor="Green" />
         </Label.Behaviors>
 </Label>

Result:
Screen Shot 2020-07-28 at 9 55 42 AM

behaviors feature-request in-progress ready-to-implement

All 3 comments

Looks useful! Let's do it!

I like it)

This seems very handy! :)

Was this page helpful?
0 / 5 - 0 ratings