21 references to OwnerType
PresentationCore (8)
System\Windows\Input\Command\RoutedCommand.cs (4)
245
if(
OwnerType
== typeof(ApplicationCommands))
249
else if(
OwnerType
== typeof(NavigationCommands))
253
else if(
OwnerType
== typeof(MediaCommands))
257
else if(
OwnerType
== typeof(ComponentCommands))
System\Windows\Input\Command\RoutedUICommand.cs (4)
89
if(
OwnerType
== typeof(ApplicationCommands))
93
else if(
OwnerType
== typeof(NavigationCommands))
97
else if(
OwnerType
== typeof(MediaCommands))
101
else if(
OwnerType
== typeof(ComponentCommands))
PresentationFramework (13)
System\Windows\Input\Command\CommandConverter.cs (4)
73
if (command != null && command.
OwnerType
!= null && IsKnownType(command.
OwnerType
))
180
if (command != null && command.
OwnerType
!= null && IsKnownType(command.
OwnerType
))
System\Windows\Input\Command\CommandValueSerializer.cs (9)
24
if (command == null || command.
OwnerType
== null)
29
if (CommandConverter.IsKnownType(command.
OwnerType
))
36
Type ownerType = command.
OwnerType
;
63
if (null != command && null != command.
OwnerType
)
66
if (CommandConverter.IsKnownType(command.
OwnerType
))
86
return $"{typeSerializer.ConvertToString(command.
OwnerType
, context)}.{command.Name}Command";
103
if (command.
OwnerType
!= null && !CommandConverter.IsKnownType(command.
OwnerType
))
105
return new Type[] { command.
OwnerType
};