Search

Search:

Namespace:

Search Result
.
    Public Shared IsInEventActivityModeProperty As DependencyProperty = DependencyProperty.Register("IsInEventActivityMode", GetType(Boolean), GetType(Activity1))
.
    Public Shared TargetStateNameProperty As DependencyProperty = DependencyProperty.Register("TargetStateName", GetType(String), GetType(DynamicSetStateActivity))
.

and you have just renamed a dependency property the cause might be that you forgot the rename the first parameter in the DependencyProperty Register() call. This is the parameter name but as a string so normal compile time checking doesn't work

.

PublicShared PromotedDelay As System.Workflow.ComponentModel.DependencyProperty = _

.
        DependencyProperty.Register("PromotedDelay_TimeoutDuration1", _
.

First of all the limited set of properties. This will only work for dependency properties defined with DependencyPropertyOptions.Metadata. This makes them metadata and they cannot be changed at runtime, only design time.

.

No in fact what you need to do is add it to the DependencyProperty constructor like this:

.

public staticDependencyPropertyMyMetadataPropertyProperty =

.
    DependencyProperty.Register("MyMetadataProperty", 
.
    newPropertyMetadata(DependencyPropertyOptions.Metadata,