Intersoft ClientUI Documentation
HasDefaultValue Method



The control to check.
The property to check.
Check whether a control has the default value for a property.
Syntax
Public Shared Function HasDefaultValue( _
   ByVal control As DependencyObject, _
   ByVal property As DependencyProperty _
) As Boolean
Dim control As DependencyObject
Dim property As DependencyProperty
Dim value As Boolean
 
value = Utility.HasDefaultValue(control, property)
public static bool HasDefaultValue( 
   DependencyObject control,
   DependencyProperty property
)
public:
static bool HasDefaultValue( 
   DependencyObject^ control,
   DependencyProperty^ property
) 

Parameters

control
The control to check.
property
The property to check.

Return Value

True if the property has the default value; false otherwise.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Utility Class
Utility Members

Send Feedback