21 references to OwnerType
PresentationCore (8)
System\Windows\Input\Command\RoutedCommand.cs (4)
256
if(
OwnerType
== typeof(ApplicationCommands))
260
else if(
OwnerType
== typeof(NavigationCommands))
264
else if(
OwnerType
== typeof(MediaCommands))
268
else if(
OwnerType
== typeof(ComponentCommands))
System\Windows\Input\Command\RoutedUICommand.cs (4)
93
if(
OwnerType
== typeof(ApplicationCommands))
97
else if(
OwnerType
== typeof(NavigationCommands))
101
else if(
OwnerType
== typeof(MediaCommands))
105
else if(
OwnerType
== typeof(ComponentCommands))
PresentationFramework (13)
System\Windows\Input\Command\CommandConverter.cs (4)
78
if (command != null && command.
OwnerType
!= null && IsKnownType(command.
OwnerType
))
185
if (command != null && command.
OwnerType
!= null && IsKnownType(command.
OwnerType
))
System\Windows\Input\Command\CommandValueSerializer.cs (9)
28
if (command == null || command.
OwnerType
== null)
33
if (CommandConverter.IsKnownType(command.
OwnerType
))
40
Type ownerType = command.
OwnerType
;
67
if (null != command && null != command.
OwnerType
)
70
if (CommandConverter.IsKnownType(command.
OwnerType
))
90
return $"{typeSerializer.ConvertToString(command.
OwnerType
, context)}.{command.Name}Command";
107
if (command.
OwnerType
!= null && !CommandConverter.IsKnownType(command.
OwnerType
))
109
return new Type[] { command.
OwnerType
};