C# Class ESRI.ArcGIS.Client.Toolkit.TextInputManager

Show file Open project: Esri/arcgis-toolkit-sl-wpf

Public Properties

Property Type Description
EnterCommandProperty System.Windows.DependencyProperty
PasswordTextProperty System.Windows.DependencyProperty
UpdateSourceOnTextChangedProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetEnterCommand ( DependencyObject obj ) : ICommand

Gets the command.

GetPasswordText ( DependencyObject obj ) : string

Gets the password text.

GetUpdateSourceOnTextChanged ( DependencyObject obj ) : bool

Gets a flag that indicates if the binding source must be updated when the text changes. In SL4, this is a workaround to the lack of UpdateSourceTrigger=PropertyChanged option.

SetEnterCommand ( DependencyObject obj, ICommand value ) : void

Sets the command.

SetPasswordText ( DependencyObject obj, string value ) : void

Sets the password text.

SetUpdateSourceOnTextChanged ( DependencyObject obj, bool value ) : void

Sets a flag that indicates if the binding source must be updated when the text changes.

Private Methods

Method Description
KeyUpHandler ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnEnterCommandChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPasswordChanged ( object sender, RoutedEventArgs e ) : void
OnPasswordTextChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
OnUpdateSourceOnTextChangedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetEnterCommand() public static method

Gets the command.
public static GetEnterCommand ( DependencyObject obj ) : ICommand
obj System.Windows.DependencyObject The obj.
return ICommand

GetPasswordText() public static method

Gets the password text.
public static GetPasswordText ( DependencyObject obj ) : string
obj System.Windows.DependencyObject The obj.
return string

GetUpdateSourceOnTextChanged() public static method

Gets a flag that indicates if the binding source must be updated when the text changes. In SL4, this is a workaround to the lack of UpdateSourceTrigger=PropertyChanged option.
public static GetUpdateSourceOnTextChanged ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject The obj.
return bool

SetEnterCommand() public static method

Sets the command.
public static SetEnterCommand ( DependencyObject obj, ICommand value ) : void
obj System.Windows.DependencyObject The obj.
value ICommand The value.
return void

SetPasswordText() public static method

Sets the password text.
public static SetPasswordText ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject The obj.
value string The value.
return void

SetUpdateSourceOnTextChanged() public static method

Sets a flag that indicates if the binding source must be updated when the text changes.
public static SetUpdateSourceOnTextChanged ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

Property Details

EnterCommandProperty public static property

Identifies the Command attached property.
public static DependencyProperty,System.Windows EnterCommandProperty
return System.Windows.DependencyProperty

PasswordTextProperty public static property

Identifies the PasswordText attached property. In WPF this a workaround for the Password property that is not a DP.
public static DependencyProperty,System.Windows PasswordTextProperty
return System.Windows.DependencyProperty

UpdateSourceOnTextChangedProperty public static property

Identifies the UpdateSourceOnTextChanged attached property.
public static DependencyProperty,System.Windows UpdateSourceOnTextChangedProperty
return System.Windows.DependencyProperty