TextTrimConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes whitespace at beginning and end of a string.
public ref class TextTrimConverter : System::Windows::Data::IValueConverter
public class TextTrimConverter : System.Windows.Data.IValueConverter
type TextTrimConverter = class
interface IValueConverter
Public Class TextTrimConverter
Implements IValueConverter
- Inheritance
-
TextTrimConverter
- Implements
Constructors
TextTrimConverter() |
Creates a new TextTrimConverter. By default, both conversion directions are trimmed. |
Methods
Convert(Object, Type, Object, CultureInfo) |
Trims excess whitespace from the given string. |
ConvertBack(Object, Type, Object, CultureInfo) |
Trims extra whitespace from the given string during backward conversion. |