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