Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

Add Hashtags detection Behavior  #171

Open
@rdelrosario

Description

@rdelrosario

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    a/behaviorsThis issue/PR is related to behaviorsfeature-requestA request for a new feature.in-progressActively being worked on.ready-to-implementFeature approved, specs written, and ready to implement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions