Property | Type | Description | |
---|---|---|---|
HasFocusProperty | DependencyProperty | ||
IsValidProperty | DependencyProperty |
Method | 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. |
return | bool |
public static GetIsValid ( DependencyObject frameworkElement ) : bool | ||
frameworkElement | DependencyObject | The framework element which is used to get the value. |
return | bool |
public static SetHasFocus ( DependencyObject control, bool value ) : void | ||
control | DependencyObject | The control whose |
value | bool | The new value for the |
return | 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. |
return | void |
public static DependencyProperty HasFocusProperty | ||
return | DependencyProperty |