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