콘텐츠로 이동

TextBaseMarkupExtensions class

이 콘텐츠는 아직 번역되지 않았습니다.

Generated fluent setters and event subscriptions for TextBase.

Guide: C# Markup guide

public static class TextBaseMarkupExtensions
name description
static AcceptTab<T>(…) Sets whether Tab inserts a tab character instead of moving focus.
static CaretPosition<T>(…) Sets the caret position as a character index into the document.
static ImeMode<T>(…) Sets the IME mode for this text control.
static IsReadOnly<T>(…) Sets whether the text is read-only.
static MaxLength<T>(…) Sets the maximum text length in UTF-16 code units. 0 means unlimited.
static OnTextChanged<T>(…) Subscribes handler to TextChanged. Occurs when the text changes.
static OnTextCompositionEnd<T>(…) Subscribes handler to TextCompositionEnd. Occurs when an IME composition ends.
static OnTextCompositionStart<T>(…) Subscribes handler to TextCompositionStart. Occurs when an IME composition starts.
static OnTextCompositionUpdate<T>(…) Subscribes handler to TextCompositionUpdate. Occurs when the IME composition text changes.
static OnTextInput<T>(…) Subscribes handler to TextInput. Occurs when the control receives text input.
static Placeholder<T>(…) Sets the placeholder text shown while the document is empty.
static SelectionBackground<T>(…) Sets the color painted behind the selected text; the default style dims it while the control does not have focus.
static SelectionForeground<T>(…) Sets the color the selected glyphs are painted in; null keeps their own colors, so a colorized document stays readable through a selection.