O'Reilly logo

ASP.NET Web API by Joydip Kanjilal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding Windows Presentation Foundation

Windows Presentation Foundation (WPF), formerly code-named "Avalon," is one of the most widely popular components added to the new versions of the Microsoft .NET Framework for designing and developing windows applications, which can provide visually stunning and rich user interfaces.

The following code snippet illustrates how a typical XAML code for a WPF TextBox control looks:

<TextBox SpellCheck.IsEnabled="True" Language="en-US" />

The following code snippet can be used to validate the user input and check the spellings based on the locale we specified, that is, US.

protected override void OnTextInput(TextCompositionEventArgs e) { string data = Text.Remove(SelectionStart, SelectionLength) + e.Text; if ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required