public static bool GetAlwaysScrollToEnd(TextBox textBox) { if (textBox == null) throw new ArgumentNullException(nameof(textBox)); return (bool)textBox.GetValue(AlwaysScrollToEndProperty); }
public static string GetBindableText(TextBox element) { if (element != null) { return (string)element.GetValue(BindableTextProperty); } return null; }
public static bool GetIsAutoUpdate(TextBox obj) { return (bool)obj.GetValue(IsAutoUpdateProperty); }
public static string GetRealTimeText(TextBox obj) { return (string)obj.GetValue(RealTimeTextProperty); }
public static string GetBindingSource(TextBox element) { return (string)element.GetValue(BindingSourceProperty); }