Skip to content

TheR00st3r/emoji.wpf

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Icon Emoji.Wpf

Emoji.Wpf is a proof of concept implementation of Emoji for WPF.

Demo 1 Demo 2

Features

  • Very experimental for now.
  • Colour emojis! ๐Ÿ˜จ ๐Ÿ’ฉ ๐Ÿฐ โœˆ โœ ๐Ÿ“ž โ˜˜
  • Full vector emojis!
  • Lightweight; does not embed a font, or emoji images.
  • Works with old .NET versions such as 3.0.
  • Uses the Segoe UI Emoji system font, even on Windows 7 or Windows 8 (if installed in c:/Windows/Fonts) by implementing Microsoftโ€™s COLR/CPAL font format extensions.
  • Free, opensource software, with no strings attached.
  • Available as a Nuget package.

Available classes

  • Emoji.Wpf.TextBlock: an emoji-aware version of System.Windows.Controls.TextBlock.

  • Emoji.Wpf.RichTextBox: an emoji-aware version of System.Windows.Controls.RichTextBox.

  • Emoji.Wpf.Picker: an emoji picker

Examples

Here is how to use Emoji.Wpf in your XAML:

    <Window ...
            xmlns:emoji="clr-namespace:Emoji.Wpf;assembly=Emoji.Wpf"
            ...>
        ...
        <emoji:RichTextBox FontSize="24" Margin="5"/>
        ...
        <emoji:TextBlock FontSize="24" Text="Hello! โ™ฅ๐Ÿ˜๐Ÿจ๐Ÿฑโ€๐Ÿ‰๐Ÿ‘ฉ๐Ÿฟโ€๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ‘ฆ๐Ÿฝ lol"/>
        ...
        <emoji:Picker FontSize="40"/>
        ...
    </Window>

More classes are to come, but feedback on what is needed is welcome.

Help needed!

I am not a very good WPF or even C# developer, but I think this could become a very useful and robust library if given enough care. Any help appreciated!

About

๐Ÿ˜ธ Emoji support for WPF

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.6%
  • Makefile 1.4%