Ejemplo n.º 1
0
        /// <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);
 }
Ejemplo n.º 4
0
        /// <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);
 }
Ejemplo n.º 7
0
		public static void SetCueBanner( TextBoxBase control, Object value )
		{
			control.SetValue( CueBannerProperty, value );
		}
Ejemplo n.º 8
0
 public static void SetSelectAllOnKeyboardFocus(TextBoxBase element, bool Value)
 {
     element.SetValue(SelectAllOnKeyboardFocusProperty, Value);
 }
Ejemplo n.º 9
0
 public static void SetAutoSelectAll(TextBoxBase tb, bool value)
 {
     tb.SetValue(AutoSelectAllProperty, value);
 }
Ejemplo n.º 10
0
 public static void SetSelectAll(TextBoxBase target, bool value)
 {
     target.SetValue(SelectAllAttachedProperty, value);
 }
 public static void SetInterceptsEscKey(TextBoxBase element, bool value)
 {
     element.SetValue(InterceptsEscKeyProperty, value);
 }