ControlExtensions.BindPassword method (1 of 2)
이 콘텐츠는 아직 번역되지 않았습니다.
Binds the password to an observable value.
public static PasswordBox BindPassword(this PasswordBox passwordBox, ObservableValue<string> source)| parameter | description |
|---|---|
| passwordBox | Target password box. |
| source | Observable source. |
Return Value
Section titled “Return Value”The password box for chaining.
Sets: PasswordBox.Password
See Also
Section titled “See Also”- class PasswordBox
- class ObservableValue<T>
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.BindPassword<TSource> method (2 of 2)
Section titled “ControlExtensions.BindPassword<TSource> method (2 of 2)”Binds the password to a converted observable value.
public static PasswordBox BindPassword<TSource>(this PasswordBox passwordBox, ObservableValue<TSource> source, Func<TSource, string> convert, Func<string, TSource>? convertBack = null)| parameter | description |
|---|---|
| TSource | Source value type. |
| passwordBox | Target password box. |
| source | Observable source. |
| convert | Source-to-password converter. |
| convertBack | Optional password-to-source converter. |
Return Value
Section titled “Return Value”The password box for chaining.
See Also
Section titled “See Also”- class PasswordBox
- class ObservableValue<T>
- class ControlExtensions
- namespace Aprillz.MewUI.Controls