43 references to PropertyKind
System.Activities.Presentation (43)
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (43)
433case PropertyKind.Property: 437case PropertyKind.InArgument: 441case PropertyKind.OutArgument: 442case PropertyKind.InOutArgument: 826PropertyType = typeof(PropertyKind), 827PropertyAttributes = TypeDescriptor.GetAttributes(typeof(PropertyKind)).OfType<Attribute>().Union( new Attribute[] { new EditorAttribute(typeof(DirectionPropertyEditor), typeof(PropertyValueEditor)) }).ToArray(), 830((DesignTimeArgument)instance).SetArgumentDirection((PropertyKind)newValue); 972if (this.GetArgumentDirection() != PropertyKind.Property) 983PropertyKind currentDirection = this.GetArgumentDirection(); 992internal PropertyKind GetArgumentDirection() 994PropertyKind result = PropertyKind.Property; 998result = PropertyKind.InArgument; 1002result = PropertyKind.OutArgument; 1006result = PropertyKind.InOutArgument; 1011void SetArgumentDirection(PropertyKind direction) 1019if (direction == PropertyKind.Property) 1027Type GetTypeReference(PropertyKind direction, Type type) 1032case PropertyKind.InArgument: 1036case PropertyKind.OutArgument: 1040case PropertyKind.InOutArgument: 1044case PropertyKind.Property: 1057if (PropertyKind.Property == this.GetArgumentDirection()) 1086case PropertyKind.InArgument: 1090case PropertyKind.OutArgument: 1094case PropertyKind.InOutArgument: 1111if (PropertyKind.Property == this.GetArgumentDirection()) 1132PropertyKind direction = this.GetArgumentDirection(); 1133return (direction == PropertyKind.OutArgument || direction == PropertyKind.InOutArgument); 1198return this.GetArgumentDirection() != PropertyKind.Property || !type.IsGenericType || !typeof(Argument).IsAssignableFrom(type); 1209var direction = this.GetArgumentDirection(); 1229case PropertyKind.InArgument: 1233case PropertyKind.InOutArgument: 1237case PropertyKind.OutArgument: 1272if (((type != stringTypeReference && (converter == null || !converter.CanConvertFrom(stringTypeReference))) && direction == PropertyKind.Property) 1273|| direction == PropertyKind.OutArgument || direction == PropertyKind.InOutArgument) 1319if (PropertyKind.Property == this.GetArgumentDirection()) 1349if (this.GetArgumentDirection() == PropertyKind.Property) 1378void TryUpdateArgumentType(Type newType, PropertyKind newDirection) 1380if (newDirection == PropertyKind.Property) 1409else if (newDirection == PropertyKind.InArgument)