11 types derived from DependencyObject
System.Workflow.Activities (1)
Rules\RuleSetReference.cs (1)
26
sealed public class RuleSetReference :
DependencyObject
System.Workflow.ComponentModel (4)
AuthoringOM\Activity.cs (1)
142
public class Activity :
DependencyObject
AuthoringOM\Behaviors\WorkflowTransactionOptions.cs (1)
23
public sealed class WorkflowTransactionOptions :
DependencyObject
AuthoringOM\ParameterBinding.cs (1)
17
public sealed class WorkflowParameterBinding :
DependencyObject
AuthoringOM\RuleDeclaration.cs (1)
21
public abstract class ActivityCondition :
DependencyObject
System.Workflow.Runtime (1)
CorrelationToken.cs (1)
24
public sealed class CorrelationToken :
DependencyObject
, IPropertyValueProvider
System.WorkflowServices (5)
System\Workflow\Activities\ChannelToken.cs (1)
26
public sealed class ChannelToken :
DependencyObject
, IPropertyValueProvider
System\Workflow\Activities\ContextToken.cs (1)
25
public sealed class ContextToken :
DependencyObject
, IPropertyValueProvider
System\Workflow\Activities\OperationInfoBase.cs (1)
25
public abstract class OperationInfoBase :
DependencyObject
System\Workflow\Activities\OperationParameterInfo.cs (1)
22
public sealed class OperationParameterInfo :
DependencyObject
System\Workflow\Activities\WorkflowServiceAttributes.cs (1)
20
public sealed class WorkflowServiceAttributes :
DependencyObject
, IServiceDescriptionBuilder
107 references to DependencyObject
System.Workflow.Activities (14)
Common\BasePropertyDescriptor.cs (2)
660
DependencyObject
dependencyObject = component as
DependencyObject
;
Common\CompModHelpers.cs (4)
1008
DependencyObject
dependencyObject = owner as
DependencyObject
;
1024
DependencyObject
dependencyObject = owner as
DependencyObject
;
ConstrainedGroup.cs (6)
60
if (!(dependencyObject is
DependencyObject
))
61
throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(
DependencyObject
).FullName), "dependencyObject");
63
return (dependencyObject as
DependencyObject
).GetValue(WhenConditionProperty);
70
if (!(dependencyObject is
DependencyObject
))
71
throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(
DependencyObject
).FullName), "dependencyObject");
73
(dependencyObject as
DependencyObject
).SetValue(WhenConditionProperty, value);
Rules\Helpers.cs (1)
105
internal static RuleDefinitions Load_Rules_DT(IServiceProvider serviceProvider,
DependencyObject
activity)
Rules\RuleDefinitions.cs (1)
49
internal static object OnGetRuleConditions(
DependencyObject
dependencyObject)
System.Workflow.ComponentModel (84)
AuthoringOM\Activity.cs (2)
1420
internal override void FixUpMetaProperties(
DependencyObject
originalObject)
2253
internal override void FixUpMetaProperties(
DependencyObject
originalObject)
AuthoringOM\ActivityExecutionContext.cs (1)
688
static void EnforceExceptionSemantics(
DependencyObject
d, object value)
AuthoringOM\ActivityInterfaces.cs (2)
105
void InitializeDefinitionForRuntime(
DependencyObject
parentDependencyObject);
111
void InitializeActivatingInstanceForRuntime(
DependencyObject
parentDependencyObject, IWorkflowCoreRuntime workflowCoreRuntime);
AuthoringOM\Bind.cs (9)
111
DependencyObject
dependencyObject = targetObject as
DependencyObject
;
1072
if (eventDependencyProperty != null && value is
DependencyObject
)
1074
if ((value as
DependencyObject
).IsBindingSet(eventDependencyProperty))
1075
value = (value as
DependencyObject
).GetBinding(eventDependencyProperty);
1077
value = (value as
DependencyObject
).GetHandler(eventDependencyProperty);
1091
if (dependencyProperty != null && value is
DependencyObject
&& (value as
DependencyObject
).IsBindingSet(dependencyProperty))
1092
value = (value as
DependencyObject
).GetBinding(dependencyProperty);
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (4)
21
DependencyObject
dependencyObject = obj as
DependencyObject
;
23
throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(
DependencyObject
).FullName), "obj");
59
private ValidationErrorCollection ValidateDependencyProperty(
DependencyObject
dependencyObject, DependencyProperty dependencyProperty, ValidationManager manager)
AuthoringOM\DependencyObject.cs (19)
23
private static DependencyProperty SiteProperty = DependencyProperty.Register("Site", typeof(ISite), typeof(
DependencyObject
), new PropertyMetadata(DependencyPropertyOptions.Metadata, new Attribute[] { new BrowsableAttribute(false), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) }));
24
private static DependencyProperty ReadonlyProperty = DependencyProperty.Register("Readonly", typeof(bool), typeof(
DependencyObject
), new PropertyMetadata(DependencyPropertyOptions.Metadata | DependencyPropertyOptions.ReadOnly, new Attribute[] { new BrowsableAttribute(false), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) }));
25
private static DependencyProperty ParentDependencyObjectProperty = DependencyProperty.Register("ParentDependencyObject", typeof(
DependencyObject
), typeof(
DependencyObject
), new PropertyMetadata(null, new Attribute[] { new BrowsableAttribute(false), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) }));
26
private static DependencyProperty UserDataProperty = DependencyProperty.Register("UserData", typeof(IDictionary), typeof(
DependencyObject
), new PropertyMetadata(DependencyPropertyOptions.Metadata | DependencyPropertyOptions.ReadOnly, new Attribute[] { new BrowsableAttribute(false), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) }));
100
protected
DependencyObject
ParentDependencyObject
104
return (
DependencyObject
)this.GetValue(ParentDependencyObjectProperty);
439
public bool MetaEquals(
DependencyObject
dependencyObject)
456
void IDependencyObjectAccessor.InitializeActivatingInstanceForRuntime(
DependencyObject
parentDependencyObject, IWorkflowCoreRuntime workflowCoreRuntime)
465
if (propValue is
DependencyObject
)
487
void IDependencyObjectAccessor.InitializeDefinitionForRuntime(
DependencyObject
parentDependencyObject)
496
if (propValue is
DependencyObject
)
525
internal virtual void FixUpMetaProperties(
DependencyObject
originalObject)
537
if (keyValuePair.Value is
DependencyObject
)
539
((
DependencyObject
)keyValuePair.Value).FixUpMetaProperties(originalPropValue as
DependencyObject
);
547
((
DependencyObject
)collection[index]).FixUpMetaProperties(originalCollection[index] as
DependencyObject
);
653
DependencyObject
activityDependencyObject = this;
AuthoringOM\Design\PropertyDescriptors.cs (5)
326
DependencyObject
dependencyObj = component as
DependencyObject
;
348
DependencyObject
dependencyObj = component as
DependencyObject
;
690
if (typeof(
DependencyObject
).IsAssignableFrom(propertyDescriptor.ComponentType) && dependencyProperty != null && !dependencyProperty.DefaultMetadata.IsMetaProperty)
AuthoringOM\Design\WorkflowInlining.cs (1)
377
if (parameterProperty.DeclaringType == typeof(
DependencyObject
) ||
AuthoringOM\Design\XomlDesignerLoader.cs (1)
730
else if (args.CurrentProperty == null && args.CurrentValue is
DependencyObject
&& !(args.CurrentValue is Activity))
AuthoringOM\PropertyMetadata.cs (2)
22
public delegate object GetValueOverride(
DependencyObject
d);
23
public delegate void SetValueOverride(
DependencyObject
d, object value);
AuthoringOM\ScheduleChanges.cs (6)
72
if (!(dependencyObject is
DependencyObject
))
73
throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(
DependencyObject
).FullName), "dependencyObject");
75
return (dependencyObject as
DependencyObject
).GetValue(ConditionProperty);
82
if (!(dependencyObject is
DependencyObject
))
83
throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(
DependencyObject
).FullName), "dependencyObject");
85
(dependencyObject as
DependencyObject
).SetValue(ConditionProperty, value);
AuthoringOM\Serializer\ActivitySurrogateSelector.cs (5)
105
else if (typeof(
DependencyObject
).IsAssignableFrom(type))
125
!(obj is
DependencyObject
)
157
!(typeof(
DependencyObject
).IsAssignableFrom(type))
173
!(typeof(
DependencyObject
).IsAssignableFrom(type)) &&
175
!(this.returnedObject is
DependencyObject
)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (3)
39
DependencyObject
dependencyObject = obj as
DependencyObject
;
41
throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(
DependencyObject
).FullName), "obj");
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (14)
699
if (obj is
DependencyObject
&& ((
DependencyObject
)obj).UserData.Contains(UserDataKeys.DesignTimeTypeNames))
700
designTimeTypeNames = ((
DependencyObject
)obj).UserData[UserDataKeys.DesignTimeTypeNames] as Hashtable;
817
&& obj is
DependencyObject
)
826
Delegate handler = ((
DependencyObject
)obj).GetHandler(dependencyProperty) as Delegate;
1464
DependencyObject
dependencyObject = obj as
DependencyObject
;
1569
DependencyObject
dependencyObject = obj as
DependencyObject
;
1815
if (dependencyProperty != null && obj is
DependencyObject
)
1817
if (((
DependencyObject
)obj).IsBindingSet(dependencyProperty))
1818
propValue = ((
DependencyObject
)obj).GetBinding(dependencyProperty);
1820
propValue = ((
DependencyObject
)obj).GetValue(dependencyProperty);
1822
propValue = ((
DependencyObject
)obj).GetHandler(dependencyProperty);
Shared\BasePropertyDescriptor.cs (2)
659
DependencyObject
dependencyObject = component as
DependencyObject
;
Shared\CompModHelpers.cs (4)
1006
DependencyObject
dependencyObject = owner as
DependencyObject
;
1022
DependencyObject
dependencyObject = owner as
DependencyObject
;
Shared\XomlSerializationHelpers.cs (4)
440
DependencyObject
dependencyObject = owner as
DependencyObject
;
456
DependencyObject
dependencyObject = owner as
DependencyObject
;
System.Workflow.Runtime (5)
System\Activities\Statements\InteropEnvironment.cs (1)
296
static readonly Type dependencyObjectType = typeof(System.Workflow.ComponentModel.
DependencyObject
);
WorkflowDefinitionDispenser.cs (3)
344
if (!property.CanRead || property.DeclaringType == typeof(
DependencyObject
) || property.DeclaringType == typeof(Activity) || property.DeclaringType == typeof(CompositeActivity))
591
internal static object GetWorkflowDefinitionLockObject(
DependencyObject
dependencyObject)
601
internal static void SetWorkflowDefinitionLockObject(
DependencyObject
dependencyObject, object value)
WorkflowExecutor.cs (1)
3141
private static object GetTransientBatch(
DependencyObject
dependencyObject)
System.WorkflowServices (4)
System\Workflow\Activities\ReceiveActivity.cs (3)
241
DependencyProperty.FromName("ParentDependencyObject", typeof(
DependencyObject
));
399
return (dependencyObject as
DependencyObject
).GetValue(ReceiveActivity.WorkflowServiceAttributesProperty);
416
(dependencyObject as
DependencyObject
).SetValue(ReceiveActivity.WorkflowServiceAttributesProperty, value);
System\Workflow\Activities\SendActivity.cs (1)
212
DependencyProperty.FromName("ParentDependencyObject", typeof(
DependencyObject
));