Search Results for

    Show / Hide Table of Contents

    Class TextBoxWatermarkHelper

    Inheritance
    Object
    TextBoxWatermarkHelper
    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
    Boolean

    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
    Back to top Generated by DocFX