C# Class Charmed.Helpers.TextBoxHelper

Helper class to assist with binding text to a view model as soon as it changes.
Show file Open project: brentedwards/Charmed

Public Properties

Property Type Description
BindableTextProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GetBindableText ( TextBox element ) : string
SetBindableText ( TextBox element, string value ) : void
TextBoxHelper ( TextBox textBox ) : Windows.UI.Xaml

Method Details

GetBindableText() public static method

public static GetBindableText ( TextBox element ) : string
element Windows.UI.Xaml.Controls.TextBox
return string

SetBindableText() public static method

public static SetBindableText ( TextBox element, string value ) : void
element Windows.UI.Xaml.Controls.TextBox
value string
return void

TextBoxHelper() public method

public TextBoxHelper ( TextBox textBox ) : Windows.UI.Xaml
textBox Windows.UI.Xaml.Controls.TextBox
return Windows.UI.Xaml

Property Details

BindableTextProperty public static property

public static DependencyProperty,Windows.UI.Xaml BindableTextProperty
return Windows.UI.Xaml.DependencyProperty