Click or drag to resize
CommonExtensionsClearIfNoBindingAndSet Method
Clears if set.

Namespace: Telerik.Windows.Controls.Diagrams
Assembly: Telerik.Windows.Controls.Diagrams (in Telerik.Windows.Controls.Diagrams.dll) Version: 2018.1.116.40 (2018.1.116.40)
Syntax
public static bool ClearIfNoBindingAndSet(
	this DependencyObject dependencyObject,
	DependencyProperty dependencyProperty
)

Parameters

dependencyObject
Type: System.WindowsDependencyObject
The dependency object.
dependencyProperty
Type: System.WindowsDependencyProperty
The dependency property.

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DependencyObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also