Search Results for

    Show / Hide Table of Contents

    Class TextBoxWatermarkHelper

    Inheritance
    object
    DispatcherObject
    DependencyObject
    TextBoxWatermarkHelper
    Inherited Members
    DependencyObject.Equals(object)
    DependencyObject.GetHashCode()
    DependencyObject.GetValue(DependencyProperty)
    DependencyObject.SetValue(DependencyProperty, object)
    DependencyObject.SetCurrentValue(DependencyProperty, object)
    DependencyObject.SetValue(DependencyPropertyKey, object)
    DependencyObject.ClearValue(DependencyProperty)
    DependencyObject.ClearValue(DependencyPropertyKey)
    DependencyObject.CoerceValue(DependencyProperty)
    DependencyObject.InvalidateProperty(DependencyProperty)
    DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
    DependencyObject.ShouldSerializeProperty(DependencyProperty)
    DependencyObject.ReadLocalValue(DependencyProperty)
    DependencyObject.GetLocalValueEnumerator()
    DependencyObject.DependencyObjectType
    DependencyObject.IsSealed
    DispatcherObject.Dispatcher
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.Desktop.Platform.Controls.Controls.WatermarkTextBox
    Assembly: Sdl.Desktop.Platform.Controls.dll
    Syntax
    public class TextBoxWatermarkHelper : DependencyObject

    Constructors

    TextBoxWatermarkHelper()

    Declaration
    public TextBoxWatermarkHelper()

    Fields

    IsWatermarkVisibleProperty

    Declaration
    public static readonly DependencyProperty IsWatermarkVisibleProperty
    Field Value
    Type Description
    DependencyProperty

    WatermarkTextProperty

    Declaration
    public static readonly DependencyProperty WatermarkTextProperty
    Field Value
    Type Description
    DependencyProperty

    Methods

    GetIsWatermarkVisible(TextBox)

    Declaration
    public static bool GetIsWatermarkVisible(TextBox control)
    Parameters
    Type Name Description
    TextBox control
    Returns
    Type Description
    bool

    GetWatermarkText(TextBox)

    Declaration
    public static string GetWatermarkText(TextBox control)
    Parameters
    Type Name Description
    TextBox control
    Returns
    Type Description
    string

    SetWatermarkText(TextBox, string)

    Declaration
    public static void SetWatermarkText(TextBox control, string text)
    Parameters
    Type Name Description
    TextBox control
    string text

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(object, Action<Window>)
    In this article
    • Constructors
      • TextBoxWatermarkHelper()
    • Fields
      • IsWatermarkVisibleProperty
      • WatermarkTextProperty
    • Methods
      • GetIsWatermarkVisible(TextBox)
      • GetWatermarkText(TextBox)
      • SetWatermarkText(TextBox, string)
    • Extension Methods
    Back to top Generated by DocFX