This topic has not yet been rated - Rate this topic

TrackingPropertyDescriptor.CanResetValue Method

Indicates whether the value of the domain property can be reset.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
public override bool CanResetValue(
	Object component
)

Parameters

component
Type: Object

The model element.

Return Value

Type: Boolean
true if the domain property can be reset; otherwise, false.

A tracking property can be reset if it has been updated by the user and is not currently tracking. When a tracking property is reset, it reverts to the tracking state.

If the tracking property descriptor is not associated with a model element, then the component parameter indicates the model element that has the property to check.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.