Свойство | Type | Description | |
---|---|---|---|
HasFocusProperty | DependencyProperty | ||
IsValidProperty | DependencyProperty |
Méthode | Description | |
---|---|---|
GetHasFocus ( DependencyObject control ) : bool |
Gets a value that determines whether the control to which the HasFocusProperty attached property has been attached, currently has the focus.
|
|
GetIsValid ( DependencyObject frameworkElement ) : bool |
Gets the value of the IsValidProperty attached property.
|
|
SetHasFocus ( DependencyObject control, bool value ) : void |
Sets a value that determines whether the control to which the HasFocusProperty attached property has been attached, currently has the focus.
|
|
SetIsValid ( DependencyObject frameworkElement, bool value ) : void |
Sets the value of the IsValidProperty attached property.
|
public static GetHasFocus ( DependencyObject control ) : bool | ||
control | DependencyObject | The control for which is to be determined whether is has the focus or not. |
Résultat | bool |
public static GetIsValid ( DependencyObject frameworkElement ) : bool | ||
frameworkElement | DependencyObject | The framework element which is used to get the value. |
Résultat | bool |
public static SetHasFocus ( DependencyObject control, bool value ) : void | ||
control | DependencyObject | The control whose |
value | bool | The new value for the |
Résultat | void |
public static SetIsValid ( DependencyObject frameworkElement, bool value ) : void | ||
frameworkElement | DependencyObject | The framework element which is used to set the value. |
value | bool | The value that is to be set. |
Résultat | void |
public static DependencyProperty HasFocusProperty | ||
Résultat | DependencyProperty |