/// <summary> /// Enables and disables spell checking within a TextBoxBase. /// </summary> public static void SetIsEnabled(TextBoxBase textBoxBase, bool value) { if (textBoxBase == null) { throw new ArgumentNullException("textBoxBase"); } textBoxBase.SetValue(IsEnabledProperty, value); }
public static void SetText(TextBoxBase element, string value) { element.SetValue(TextProperty, value); }
static void SetIsVisible(TextBoxBase element, bool value) { element.SetValue(IsVisibleProperty, value); }
/// <summary> /// Sets the spelling reform mode for a TextBoxBase. /// </summary> public static void SetSpellingReform(TextBoxBase textBoxBase, SpellingReform value) { if (textBoxBase == null) { throw new ArgumentNullException("textBoxBase"); } textBoxBase.SetValue(SpellingReformProperty, value); }
public static void SetTwitterAccountID(TextBoxBase textBoxBase, Decimal value) { if (textBoxBase == null) throw new ArgumentNullException("textBoxBase"); textBoxBase.SetValue(IntellisenseExtension.TwitterAccountIDProperty, (object) value); }
public static void SetScrollToBottomOnTextChanged(TextBoxBase target, object value) { target.SetValue(ScrollToBottomOnTextChangedProperty, value); }
public static void SetCueBanner( TextBoxBase control, Object value ) { control.SetValue( CueBannerProperty, value ); }
public static void SetSelectAllOnKeyboardFocus(TextBoxBase element, bool Value) { element.SetValue(SelectAllOnKeyboardFocusProperty, Value); }
public static void SetAutoSelectAll(TextBoxBase tb, bool value) { tb.SetValue(AutoSelectAllProperty, value); }
public static void SetSelectAll(TextBoxBase target, bool value) { target.SetValue(SelectAllAttachedProperty, value); }
public static void SetInterceptsEscKey(TextBoxBase element, bool value) { element.SetValue(InterceptsEscKeyProperty, value); }